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

Method getLightLevel

Minecraft-Utils/1.9.4/src/Variables.java:672–683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

670 }
671
672 @Override
673 public int getLightLevel() {
674 cl localdt = new cl(getPlayerPosX(), getPlayerPosY(), getPlayerPosZ());
675 if (!getWorld().e(localdt) || localdt.q() < 0 || localdt.q() >= 256) {
676 return 0;
677 }
678 asf localObject = getMinecraft().f.f(localdt);
679 if (localObject.f()) {
680 return 0;
681 }
682 return localObject.a(localdt, 0);
683 }
684
685 @Override
686 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