MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / getLightLevel

Method getLightLevel

Minecraft-Utils/1.10/src/Variables.java:705–716  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

703 }
704
705 @Override
706 public int getLightLevel() {
707 cm localdt = new cm(getPlayerPosX(), getPlayerPosY(), getPlayerPosZ());
708 if (!getWorld().e(localdt) || localdt.q() < 0 || localdt.q() >= 256) {
709 return 0;
710 }
711 asv localObject = getMinecraft().f.f(localdt);
712 if (localObject.f()) {
713 return 0;
714 }
715 return localObject.a(localdt, 0);
716 }
717
718 @Override
719 public String getEntityCount() {

Callers

nothing calls this directly

Calls 8

getPlayerPosXMethod · 0.95
getPlayerPosYMethod · 0.95
getPlayerPosZMethod · 0.95
getWorldMethod · 0.95
getMinecraftMethod · 0.95
eMethod · 0.45
fMethod · 0.45
aMethod · 0.45

Tested by

no test coverage detected