mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-04 00:45:57 +00:00
implement air threshold in beardifier
This commit is contained in:
parent
fbbf09a937
commit
3adcdb4019
@ -153,7 +153,7 @@ public class FabricChunkGeneratorWrapper extends net.minecraft.world.gen.chunk.C
|
|||||||
.getPalette(x + xi, y, z + zi, world, biomeProvider)
|
.getPalette(x + xi, y, z + zi, world, biomeProvider)
|
||||||
.get(depth, x + xi, y, z + zi, world.getSeed()), false);
|
.get(depth, x + xi, y, z + zi, world.getSeed()), false);
|
||||||
depth++;
|
depth++;
|
||||||
} else if(noise > 0 && noise < airThreshold) {
|
} else if(noise < airThreshold) {
|
||||||
chunk.setBlockState(new BlockPos(x, y, z), Blocks.AIR.getDefaultState(), false);
|
chunk.setBlockState(new BlockPos(x, y, z), Blocks.AIR.getDefaultState(), false);
|
||||||
} else {
|
} else {
|
||||||
depth = 0;
|
depth = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user