Commit Graph
1675 Commits
Author SHA1 Message Date
Brian Fopiano ebe4aa1e41 Contain failed placements
- Only touch vine faces in getAllowedFaces, so a ceiling vine never asks Bukkit for DOWN
- Add GenerationFailures.skipPlacement: engine failures rethrow, anything else is one warning per 60s per key with a suppressed count
- Count generation sessions, IOException and UncheckedIOException as engine failures
- Contain decorators, water plants, deposits, post and perfection columns, custom blocks, waterlogging fixes and structure pieces at their own scope
- Move object, floating, rotation and surface layer catches to the terse warning
- REPLACE_SOURCE structure failures still fail the chunk
- Add probeFaultSurface to generationOrderProbe for skip determinism runs
2026-11-04 02:24:46 -05:00
Brian Fopiano 343da05e3d Add organic sea grottos
- Plan winding sea-level passages into tall coastal rock, one per site cell, owned by the mouth's window
- Keep walks out of rivers, ponds, own arms, and ground other windows' arms could reach
- Shape them with a warped path and a 3D radial function keyed on plan data and CellHash, with caverns, hanging rock, shelves and skylights
- Rasterize own-chunk into mantle WET_SOURCE, DRY_AIR and SEAL_GUARD; guards only at or below sea level
- Persist grottos in window plans, plugging cut-off wet cells at plan time
- Add IrisGrottos to settings, fingerprint, schema and pack validation; recapture pins
- Add /iris find river grotto, Studio map drawing, recorded mouths and an export limit
- Add grottoProbe and arm lines in the tidal rivers digest
2026-11-03 23:52:18 -05:00
Brian Fopiano 5df42fc49e Merge tidal inlets
- Sea inlets become tidal reaches on the river pipeline
- Recaptures the schema digest for the merged lane
2026-11-03 20:46:08 -05:00
Brian Fopiano 70cf63bf4e 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
2026-11-03 20:34:51 -05:00
Brian Fopiano 5a1d743ea0 Default inlet spacing 160
- Set the engine default to 160 so packs need nothing beyond enabled
- Describe inlets as tidal arms in the settings and export notes
- Recapture the pinned fingerprint and schema digest
2026-11-03 19:50:50 -05:00
Brian Fopiano 78b4c88961 Delete grotto remnants
- Remove SealedPassage, PassageRasterizer, PassageSpace and HydrologyRuntime.passages
- Remove the passage loop, passage space and headroom plumbing from mantle and carve
- Keep WET_SOURCE and DRY_AIR readable for mantle data already written
2026-11-03 19:50:50 -05:00
Brian Fopiano ab3e22c619 Resurface shallow tidal banks
- Keep the biome surface layer on tidal bank cuts of 6 blocks or less
2026-11-03 19:50:33 -05:00
Brian Fopiano 8189215328 Count inlets in structure veto
- Treat sea inlet columns as river water for the 10% surface structure rule
2026-11-03 19:50:33 -05:00
Brian Fopiano 8d18e0de7a Meet river banks at midline
- End a tidal bank halfway to any other water within its band
- Ease it up to that water's own bank height, so the two sides join
- Leave river, pond and lake banks unchanged
2026-11-03 19:50:32 -05:00
Brian Fopiano f4cd64ee33 Reject arms facing walls
- Honour the reject from the bank and head checks instead of dropping it in the max
- Remove the mouth suppression rule, which territories already make redundant
- Raise the meander scale to keep arms winding after the stricter rule
- Measure head walls and added steps across feature boundaries in the probe
- Pin rejects, cliffs in the band and close mouths with tests
2026-11-03 19:50:32 -05:00
Brian Fopiano 54aaf28987 Grade arms through hills
- Route walks around ground too tall for the bank band and stop short of it
- Scan bank profiles and head rays for tall ground and cliffs, and trim the head
- Widen the default bank band so banks grade back like a river valley
- Measure the steepest bank rise, slot runs and head walls in the probe
- Add a sections mode rendering real block cross sections of chosen arms
2026-11-03 17:51:51 -05:00
Brian Fopiano 1ddda75efb Merge stream lowering
- Streams go down with structure cuts
- Recaptures the schema digest for F1 and F3 together
2026-11-03 16:39:27 -05:00
Brian Fopiano fdfc378676 Tidal reach probe
- Replace the sea inlet probe with metrics, blocks, digest and rivers modes
- Measure edge steps, path shape, funnel, connection, overlap and cuts per arm
- Render plan and real block images per seed
- Compare river plans and block hashes across chunk order, threads and window order
2026-11-03 15:44:15 -05:00
Brian Fopiano a27d3b7972 Land inlet searches near mouths
- Offer tidal reach points in the half toward the sea, short of the open sea
- Keep tidal reaches out of river mouth searches
2026-11-03 15:42:18 -05:00
Brian Fopiano 4132db5f8b Remove inlet passage
- Delete SeaInlet, its rasterizer, space and footprint, and the old inlet probe
- Keep the mantle cells, old chunk seal and cave headroom behind SealedPassage
- Keep their tests on a test passage so grottos can build on them
- Report tidal arm counts from the plan in the hydrology probe
2026-11-03 15:42:18 -05:00
Brian Fopiano 848226c6f3 Tune tidal arm shape
- Find the lowest monotone path inland with a wander term, replacing the greedy walk
- Scale the meander to arm length and skip slope damping, since arms are cut flat
- Remove the steep-ray cone from tidal banks, which made the spiky bank teeth
- Round heads, damp width wobble inland and tune the funnel defaults
- Narrow territories to the water while keeping mouths apart
2026-11-03 15:41:58 -05:00
Brian Fopiano 2da2f760e0 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
2026-11-03 15:34:50 -05:00
Brian Fopiano 79a566cf07 Tidal reach planner
- Replace SeaInletPlanner with TidalPlanner, planned only in the owner window
- Walk up a distance-from-coast field and keep clear of rivers, ponds and lakes
- Decide conflicts from hashed site anchors and territories, not from drainage
- Trim or reject arms on tall banks, inland low ground and shores beside the sea
- Share the river fit and smoothing through ReachShaper.smooth
2026-11-03 14:50:26 -05:00
Brian Fopiano 5d127baac9 Tidal reach plan format
- Add ReachStyle.TIDAL with code 6, rastered as WaterRole.INLET with sea fluid
- Add a tidal tier to the settings, built from the river tier and the inlet bank knobs
- Remove the inlet section from WindowPlan, HydrologyPlanCodec and HydrologyPlanPreview
- Require tidal reaches to be whole, at sea level and draining to the sea
- Record, search and draw inlets from tidal reaches
2026-11-03 14:24:50 -05:00
Brian Fopiano 10fccd68f3 Tidal inlet settings
- Replace cliff, width, headroom, roof and chamber knobs with funnel, bank and meander knobs
- Bound the new knobs at compile, with a reach guard against the window size
- Add them to the fingerprint and recapture the pinned fingerprint and schema digest
- Hold the old planner's retired values as constants until the planner is replaced
2026-11-03 14:18:44 -05:00
Brian Fopiano b0747d7483 Merge underground lava
- Deep lava pools, cave springs and the cave fluid probe from hydro/f3
- Recaptured the settings fingerprint and schema digest for the combined code
2026-11-03 14:01:25 -05:00
Brian Fopiano ab2a448775 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
2026-11-03 13:54:29 -05:00
Brian Fopiano 891aaa13b4 Skip springs under transforms
- Dimensions with a terrain transform place no cave springs
- The structure query no longer re-enters the transform during terrain
2026-11-03 12:46:17 -05:00
Brian Fopiano bf30f8c75b Veto springs near structures
- Drop a spring when an imported structure piece lies within 32 blocks, from world minimum to one block above the seep
- Pass the seep position to the carved terrain structure check
- Clear the block update when a pool wall replaces a spring
- Pin the spring guards with behaviour tests across several seeds
- Pin startsNear reach and the springs-only component and runtime gates
2026-11-03 12:33:53 -05:00
Brian Fopiano f809bacd29 Step height knob
- Add tier stepHeight 1..2, default 2, in the settings fingerprint
- Snap channel heads by tier and keep ponds, lakes and inlets at 2
- Key riffle crests on any lower neighbour, falls unchanged
- Start one-block outlets at their pond's surface
- Reject tiers with a larger step than the next larger tier
- Recapture the fingerprint and schema digest
2026-11-03 12:17:28 -05:00
Brian Fopiano 750bade003 Hashed D8 ties
- Break equal-slope D8 ties with a world-keyed hash of seed and cell
- Pass the settings seed from window, region and pond planners
- Replace the scan-order test with world-hash tie tests
2026-11-03 11:58:41 -05:00
Brian Fopiano 52450fbc72 Plunge flare
- Compute reach styles before widths
- Widen channels by half at waterfall feet, fading over the plunge length
- Keep the flare within the tier maximum and out of running widths
- Skip reach ends, protected outlet stretches and estuaries
- Test widths against channel maxima outside plunge pools
2026-11-03 11:46:21 -05:00
Brian Fopiano 1bdd03c18f Guard T8 companion test
- Run T8's assertions through TongueGuard on ground that keeps tongues
2026-11-03 11:46:21 -05:00
Brian Fopiano ac9b4abfe2 Fix biome test registries
- BukkitBiomeVisibleResolverTest initialised org.bukkit.block.Biome with no registries, which failed the class for its whole test JVM
- ObjectStudioGeometryTest then failed whenever the two shared a fork, as they do with the new test classes at four forks
- The test now sets the registries up first
2026-11-03 11:16:58 -05:00
Brian Fopiano f9be56ab6b Validate deep fluid line
- Pack validation rejects a deepFluidMaxY outside the dimension's height while deepFluid is set
- The check is the same one the filler applies when generating
2026-11-03 10:24:14 -05:00
Brian Fopiano b64845dfed Add cave springs
- IrisCaveSprings: enabled false, density 0.05, fluid lava, minDepthBelowSurface 16, under hydrology.underground.caveSprings
- CaveSpringPlacer picks a seep in a rock wall of its own chunk with a hash of the seed and coordinates, reading only carved cells
- A seep holds one SPRING_SOURCE cell with UpdateMatter.ON, so the game's fluid ticks move it
- A spring is dropped when its opening is unroofed, or its flow within 15 blocks meets a foreign cell, an older chunk or ground closer than minDepthBelowSurface to the surface
- A structure placement that starts within 8 chunks drops the spring
- Pool walls replace a spring cell in either write order, so pools stay sealed
- A cave policy fluid replaces the spring fluid, unknown names fail the chunk, and settings reject bad knobs
- Default fingerprint and schema digest recaptured
2026-11-03 10:16:35 -05:00
Brian Fopiano c76339df4e Deep cave pool fluid
- cavePools.deepFluid fills pools at or below cavePools.deepFluidMaxY, default world Y -128, unset by default
- A cave policy fluid still wins over the deep fluid
- The mixed-fluid check stops a pool rising past the line, so no pool straddles it
- CavePoolFiller takes the world minimum Y to place the line, and throws when the line is outside the world
- Settings reject an unknown or seam deepFluid, and both knobs join the fingerprint
- Default fingerprint and schema digest recaptured
2026-11-03 10:11:48 -05:00
Brian Fopiano f1834327c3 Guard tongues at cliffs
- Stop a tongue at plan time where its bed would pass maxFill over natural ground
- Store stopped falls on the reach and in the plan codec
- Keep settlement and raster on the same geometry rule
- Test the cliff fixture on seeds 1..24 from half-width 3 to 18
2026-11-03 10:09:14 -05:00
Brian Fopiano 6e2cb959dd Plan curves across windows
- Decide which falls curve from the plan reach, so every chunk and settlement agree
- Keep a clamped drop under the curve minimum straight
- Test feeder falls across a window line on 24 seeds
2026-11-03 09:52:42 -05:00
Brian Fopiano c4a076b587 Finish curved brinks
- Keep a horseshoe tip off the outlet zone end and reach start
- Scan segments upstream of a fall for horseshoe water in settlement
- Measure the brink cap from the real brink and pin it at 11
- Replace the angled 1.25 bound with rule and square-on checks
- Add behaviour tests for every ReachGeometry guard and use site
2026-11-03 07:31:45 -05:00
Brian Fopiano 6458b2331c Task 19 WIP
- Add ReachGeometry and the shared curved brink head rule
- Use it in RasterComposer and PondChannelSettlement
- Add T8, T9 and multi-seed brink tests
- Unfinished: see task-19-report.md
2026-11-02 21:11:48 -05:00
Brian Fopiano 6c0c42cd8c Gradual meander damping
- Ease slope damping over 8 stations, so a cliff no longer jerks the line sideways and tilts the brink
- Guard the brink, chord tilt and centreline over seeds 1 to 24 and cliff edges 193 to 199
- Recapture the edge 199 brink pin and run the edge overhang test over 8 shape seeds
- Run the wall cut test over 8 seeds with a per-case cap and a pooled mean cap
- Check that every pond beyond the sliver is kept, and skip only the level check on its downstream chain
2026-11-02 20:47:10 -05:00
Brian Fopiano 22e4775a5f Task 18 test fixes
- Exempt only ponds on the sliver's downstream chain, so far pond loss and level changes fail again
- Add a 30-block mean cap over the nine wall feet beside the 35-block per-foot cap
2026-11-02 20:18:11 -05:00
Brian Fopiano 07e4d9cd8b Cliff edge review fixes
- Read centreline columns for every land point, so a cliff between lattice nodes lowers the read even where the node gate stays shut
- Close the trim where the channel edge at the next midpoint or the bank is below it, so an angled cliff gains no extra overhang
- Test station phases and fractional edges, angled cliffs and uniform slope 1 directly
- Assert the gate position directly instead of only against a mirror
- Pin the brink for each on-lattice edge instead of a range
2026-11-02 19:21:51 -05:00
Brian Fopiano 5450fa1ef1 Organic steep channels
- Add Taubin relaxation of the resampled D8 line, with a 4-block shift limit and 4-block re-spacing
- Scale meander amplitude and wavelength by half-width and keep 40 percent of it on steep ground
- Use a smoothstep end envelope so short reaches keep their curve with exact endpoints
- Soften Viterbi offsets by half a node and pull back where the neighbouring node is blocked
- Move meander and Viterbi offsets along the relaxed line's normals so meander cannot tilt the valley read
- Hold meander to zero where a pond lies within its swing, so outlets stay on the shore
- Add steep-channel, reduced-meander, blocked-node and translation guard tests
- Revise fixture assumptions that required straight lines or one station phase
2026-11-02 19:01:52 -05:00
Brian Fopiano 1f581164a2 Falls at cliff edges
- ReachFitter reads ground with lowestCoveredGround, dropping nodes more than 2.5 blocks ahead only at a cliff edge
- Exact columns from a point to the midpoint of its next segment cap the trimmed read, so water never overhangs a cliff between lattice nodes
- T5 second case and cliffBetweenLatticeNodesKeepsWaterBelowTheGround cover the brink position and the centreline
- stepsBelowTheWaterfallMinimumKeepTheFullGroundRead pins the waterfall minimum gate
- cascades description separates cascade-start and waterfall-start steps; schema digest recaptured
2026-11-02 17:49:49 -05:00
Brian Fopiano 64049fd964 Round two review follow-ups
- WaterInvariants.held holds a fed start only above MAX_START_LOWERING, as LinkBlend.fixed does
- Test that a lake outlet is not held along its lip across a window line, unlike a pond outlet
- Test tailouts across chunk borders with a diagonal and a jogged next step
- Share the chunk-border comparison between the plunge and tailout tests
- Parity test maps roles to palettes with a switch
- Parity test asserts some trials have open water under a fall
2026-11-02 17:37:41 -05:00
Brian Fopiano 618a52952d Step-pool review fixes
- Floor non-estuary pools at the lowest grade whose snapped head is above the sea
- Add WaterHeads.lowestAboveSea beside the snap rule it follows
- Restore the strict delta branch check on grouped settings
- Assert grouping moves no sea-level head upstream on the delta fixture
- Update the cascades schema description and recapture the schema digest
- Measure pools by arc on a gentler run
- Test close falls stay separate when the lower lands on the end level
2026-11-02 17:27:15 -05:00
Brian Fopiano 394eb6b8c1 Step-pool grouping
- Add StepPools to group drops into level pools on cascading tiers
- Pass the seed through ReachGrader and record each point's floor
- Stop a waterfall absorbing the run-out at one waterfall's depth, so falls never merge
- Hold non-estuary points above sea level so no pool pulls the sea upstream of the estuary
- Protect pond outlet starts and every held point from grouping
- Test step pools, plunge reaches, tall-fall rollover and pond outlet zones
- Check the short-pit lock on ungrouped grades and bound grouped grades by one pool length
- Count visible drops in the gradeNeverRisesDownstream ratio
- Check the delta branch water on ungrouped grades and within one pool length when grouped
2026-11-02 16:35:57 -05:00
Brian Neumann-Fopiano 2130c1984d Modded jars drop NoiseNatives
- Only the Bukkit bootstrap calls it, and modded jars bundle their natives
- It references the excluded SlimJar, which failed all 12 modded verifiers
- Remove a test import left unused by the noise pin
2026-11-02 14:31:11 -05:00
Brian Neumann-Fopiano 1838d62965 Pin merged schema and noise
- Schema digest for the merged lanes
- Noise pin accepts the Windows and Mac rounded hashes
- Noise output is unchanged: the original raw-bit pin still passes on this line
2026-11-02 14:19:40 -05:00
Brian Neumann-Fopiano 5769b0d4e8 Restore language sync
- Bring back 5 commits a force push dropped from GitHub master (0aad88c30)
- Keep the thin Bukkit entry; port language sync into IrisRuntime
- Fetch guides through GitHubLanguageSource instead of the removed catalog
2026-11-02 14:15:44 -05:00
Brian Neumann-Fopiano 52dae154bb Merge master into hydrology 2026-11-02 14:11:01 -05:00
Brian Neumann-Fopiano b08d181823 Merge lane B structures 2026-11-02 14:11:01 -05:00
SwiftSwamp 0aad88c301 Fixed Windows build
- Purity ratchet compares source paths with forward slashes
- Hydrology plan reads and saves share a striped file lock
- Offline region generator skips directory sync on Windows
- Noise seed pin hashes samples rounded to 9 decimal places
- Language guide test ignores line endings
- Language hotload test uses the VolmLib size limit
- Region snapshot tests skip without file keys
- Region snapshot test covers reads without file keys
- Open region replacement test skips on Windows
- Attach signal test links sigaction after the Windows check
- Offline publication test expects only file syncs on Windows
2026-11-02 11:00:24 -07:00