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

Method getBiome

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

Source from the content-addressed store, hash-verified

703 }
704
705 @Override
706 public String getBiome() {
707 ej localdt = new ej(getPlayerPosX(), getPlayerPosY(), getPlayerPosZ());
708 if (!getWorld().D(localdt) || localdt.p() < 0 || localdt.p() >= 256) {
709 return null;
710 }
711 bna localObject = getMinecraft().g.l(localdt);
712 if (localObject.s()) {
713 return null;
714 }
715 return String.valueOf(ayn.aK.b(localObject.i(localdt)));
716 }
717
718 @Override
719 public int getLightLevel() {

Callers

nothing calls this directly

Calls 6

getPlayerPosXMethod · 0.95
getPlayerPosYMethod · 0.95
getPlayerPosZMethod · 0.95
getWorldMethod · 0.95
getMinecraftMethod · 0.95
bMethod · 0.45

Tested by

no test coverage detected