Chunk -> world coords (#1966)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-07-27 10:54:26 -07:00
1 parent 6570b6a0a5
commit 4eb837a2c0
1 file changed
+1 -1
@@ -296,7 +296,7 @@ public final class ClientProxy extends CommonProxy {
event.left.set(i + 4, String.format(
"lc: %d b: %s bl: %d sl: %d rl: %d",
chunk.getTopFilledSegment() + 15,
this.mc.theWorld.getBiomeGenForCoords(bX & 15, bZ & 15).biomeName,
this.mc.theWorld.getBiomeGenForCoords(bX, bZ).biomeName,
chunk.getSavedLightValue(EnumSkyBlock.Block, bX & 15, CompatMathHelper.clampHeight(bY), bZ & 15),
chunk.getSavedLightValue(EnumSkyBlock.Sky, bX & 15, CompatMathHelper.clampHeight(bY), bZ & 15),
chunk.getBlockLightValue(bX & 15, CompatMathHelper.clampHeight(bY), bZ & 15, 0)));