Step warning, seed tests

- Warn in the stepHeight description that 1 is experimental and terraces can rise
- Recapture the pinned schema digest for that description
- Test the world seed at the window, region and pond D8 callers
- Test that the plunge flare stops at the sea
- Test that the plunge flare stays out of the running maximum
- Open ReachShaper.widths to the package for that test
This commit is contained in:
Brian Fopiano committed 2026-11-03 13:54:29 -05:00
1 parent f809bacd29
commit ab2a448775
8 files changed
+179 -3

No files matched your search

@@ -54,7 +54,7 @@ public class IrisHydrologyTier {
@MinNumber(1)
@MaxNumber(2)
@Description("Smallest step in blocks between this tier's water surfaces. 2 keeps channel surfaces on every second height above the sea. 1 lets a channel fall one block at a time, and works best with cascades false, which spreads drops into a gentle slope. Falls and plunge pools are unchanged. Ponds and lakes always use 2. A tier cannot use a larger step than the next larger tier.")
@Description("Smallest step in blocks between this tier's water surfaces. 2 keeps channel surfaces on every second height above the sea. 1 is experimental: it lets a channel fall one block at a time, and works best with cascades false, which spreads drops into a gentle slope, but on slanted steps the water at inner corners converts to source blocks, so terraces can rise a block and water can reach dry banks. Falls and plunge pools are unchanged. Ponds and lakes always use 2. A tier cannot use a larger step than the next larger tier.")
private int stepHeight = 2;
@MinNumber(0)
@@ -493,7 +493,7 @@ public final class ReachShaper {
}
}
private static void widths(ReachDraft draft, float upstream, float feederEnd) {
static void widths(ReachDraft draft, float upstream, float feederEnd) {
int count = draft.xs.length;
boolean flare = draft.incoming.length > 0 && !draft.outlet;
boolean taper = !flare && !draft.outlet;