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

Method getBiome

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

Source from the content-addressed store, hash-verified

690 }
691
692 @Override
693 public String getBiome() {
694 co localdt = new co(getPlayerPosX(), getPlayerPosY(), getPlayerPosZ());
695 if (!getWorld().e(localdt) || localdt.q() < 0 || localdt.q() >= 256) {
696 return null;
697 }
698 aum localObject = getMinecraft().f.f(localdt);
699 if (localObject.f()) {
700 return null;
701 }
702 return localObject.a(localdt, getMinecraft().f.A()).l();
703 }
704
705 @Override
706 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