Resurface deeper tidal cuts

- Raise the tidal bank resurface limit from 6 to 16 blocks of cut
- Choose the surface layers at the natural height, then paint from the top
This commit is contained in:
Brian Fopiano committed 2026-11-03 20:34:51 -05:00
1 parent 5a1d743ea0
commit 70cf63bf4e
1 file changed
+4 -4
@@ -51,7 +51,7 @@ public class IrisTerrainNormalActuator extends EngineAssignedActuator<NativeBloc
private static final BoundBlockState DIRT = BoundBlockState.of("minecraft:dirt");
private static final BoundBlockState NETHERRACK = BoundBlockState.of("minecraft:netherrack");
private static final int INLET_SEA_LAYERS = 1;
private static final int TIDAL_BANK_SHALLOW_CUT = 6;
private static final int TIDAL_BANK_SHALLOW_CUT = 16;
@Getter
private final RNG rng;
@@ -314,12 +314,12 @@ public class IrisTerrainNormalActuator extends EngineAssignedActuator<NativeBloc
int naturalSurfaceY = naturalColumn == null
? complex.naturalTrueHeight(realX, realZ) : naturalColumn.surfaceY(layerSurfaceY);
cut = Math.max(0, naturalSurfaceY - layerSurfaceY);
if (cut <= TIDAL_BANK_SHALLOW_CUT && complex.isTidalBank(realX, realZ)) {
cut = 0;
}
}
blocks = biome.generateLayers(dimension, realX, realZ, rng,
layerSurfaceY + cut + 1 - bedrockFloor, layerSurfaceY + cut, data, complex);
if (exposeStrata && cut <= TIDAL_BANK_SHALLOW_CUT && complex.isTidalBank(realX, realZ)) {
cut = 0;
}
}
int deepFloor = Math.max(bedrockFloor, layerCeilingY > 0 ? layerCeilingY + 2 : 0);