mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-02 16:05:29 +00:00
correct carving logic
This commit is contained in:
parent
1eb515e751
commit
edb9b13bd1
@ -83,7 +83,7 @@ public class NoiseChunkGenerator3D implements ChunkGenerator {
|
||||
BlockState data;
|
||||
for(int y = world.getMaxHeight() - 1; y >= world.getMinHeight(); y--) {
|
||||
if(sampler.sample(x, y, z) > 0) {
|
||||
if(properties.carving().noise(seed, cx, y, cz) < 0) {
|
||||
if(properties.carving().noise(seed, cx, y, cz) <= 0) {
|
||||
data = PaletteUtil.getPalette(x, y, z, sampler, paletteInfo).get(paletteLevel, cx, y, cz,
|
||||
seed);
|
||||
chunk.setBlock(x, y, z, data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user