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

Method getBiome

Minecraft-Utils/1.12.2/src/Variables.java:691–702  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

689 }
690
691 @Override
692 public String getBiome() {
693 et localdt = new et(getPlayerPosX(), getPlayerPosY(), getPlayerPosZ());
694 if (!getWorld().e(localdt) || localdt.q() < 0 || localdt.q() >= 256) {
695 return null;
696 }
697 axw localObject = getMinecraft().f.f(localdt);
698 if (localObject.f()) {
699 return null;
700 }
701 return localObject.a(localdt, getMinecraft().f.C()).l();
702 }
703
704 @Override
705 public int getLightLevel() {

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