Skip to content

Commit

Permalink
Fix biome coords
Browse files Browse the repository at this point in the history
  • Loading branch information
Gjum committed Aug 24, 2023
1 parent a0496ca commit 83350ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static BlockColumn blockColumnFromChunk(LevelChunk chunk, BlockPos.Mutabl
} while (y >= minBuildHeight);
var world = Minecraft.getInstance().level;
int light = world.getBrightness(LightLayer.BLOCK, pos);
var biome = chunk.getNoiseBiome(pos.getX() >> 3, pos.getY() >> 3, pos.getZ() >> 3).value();
var biome = chunk.getNoiseBiome(pos.getX() >> 2, pos.getY() >> 2, pos.getZ() >> 2).value();
return new BlockColumn(biome, light, layers);
}
}

0 comments on commit 83350ed

Please sign in to comment.