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

Method getLightLevel

Minecraft-Utils/1.7.10/src/Variables.java:682–692  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

680 }
681
682 @Override
683 public int getLightLevel() {
684 int i20 = qh.c(getPlayer().s);
685 int i21 = qh.c(getPlayer().t);
686 int i22 = qh.c(getPlayer().u);
687 if (!getWorld().d(i20, i21, i22)) {
688 return 0;
689 }
690 apx localObject = getMinecraft().f.d(i20, i22);
691 return localObject.b(i20 & 15, i21, i22 & 15, 0);
692 }
693
694 @Override
695 public String getEntityCount() {

Callers

nothing calls this directly

Calls 6

getPlayerMethod · 0.95
getWorldMethod · 0.95
getMinecraftMethod · 0.95
cMethod · 0.45
dMethod · 0.45
bMethod · 0.45

Tested by

no test coverage detected