Streams follow structure cuts

- Restate flattenKeepsDryBanksAtTheWaterSurface for water going down with its banks, with the SOURCE case, on v26_3_R1 and v26_2_R1
- Pass StructureWater to prepareSurfaceStructures in the adapter tests
- Expect the 64-block hold reach in FLATTEN references
- Describe stream lowering on IrisStructureTerrain and recapture the schema digest
- Add the waterPerchCensus probe, which reads copied region files and counts perched source water by flatten blend
This commit is contained in:
Brian Fopiano committed 2026-11-03 15:34:50 -05:00
1 parent c4a076b587
commit 2da2f760e0
7 files changed
+764 -90

No files matched your search

@@ -30,7 +30,7 @@ public class IrisStructureTerrain implements StructureTerrainSettings {
private static final double MAX_EROSION_FREQUENCY = 1D;
private static final double MAX_LOBE_FREQUENCY = 1D;
@Description("Terrain operation. SOURCE applies the registered native structure's authored terrain adaptation and is a no-op for editable Iris structures. PRESERVE disables terrain integration. FLATTEN cuts and fills exposed native structure terrain within flattenRange, blending across horizontalPadding blocks, and never lowers dry ground outside a structure footprint below the dimension fluidHeight. SOURCE and FLATTEN surface cuts beneath water or lava, such as a riverbed, fill with that fluid, and other cuts at or below fluidHeight fill with the dimension sea fluid instead of air. VACUUM raises terrain from processed rigid-template foundations with a fixed 12-block falloff without lowering ground. BORE and FORCE_CARVE clear the requested envelope, while ENCASE fills it before placement.")
@Description("Terrain operation. SOURCE applies the registered native structure's authored terrain adaptation and is a no-op for editable Iris structures. PRESERVE disables terrain integration. FLATTEN cuts and fills exposed native structure terrain within flattenRange, blending across horizontalPadding blocks, and never lowers dry ground outside a structure footprint below the dimension fluidHeight. SOURCE and FLATTEN surface cuts beneath water or lava, such as a riverbed, fill with that fluid, and other cuts at or below fluidHeight fill with the dimension sea fluid instead of air. A hydrology stream beside a SOURCE or FLATTEN cut goes down with the cut and holds the lowered level until its own head falls below it. Water joined to the sea and wide rivers stay at their level, a stream feeding them stops at that level, and a drop stops at 16 blocks; two blocks of bank keep whatever level the water ends at. VACUUM raises terrain from processed rigid-template foundations with a fixed 12-block falloff without lowering ground. BORE and FORCE_CARVE clear the requested envelope, while ENCASE fills it before placement.")
private StructureTerrainMode mode = StructureTerrainMode.SOURCE;
@MinNumber(0)
@@ -84,7 +84,7 @@ public class SchemaBuilderIdentityTest {
@ClassRule
public static final PlatformLeakGuard PLATFORM_GUARD = PlatformLeakGuard.clean();
private static final String EXPECTED_SCHEMA_DIGEST = "c87139f807de29aa444923b6b0a1f85dc8de882ea8cf13ea3818fbdaeb352ae6";
private static final String EXPECTED_SCHEMA_DIGEST = "477c79ddc7977bb02dda072fad660a0034530303c77dc8f43ee12ab1508e0451";
private static final List<Class<?>> SCHEMA_ROOTS = List.of(
IrisDimension.class,