Commit Graph
120 Commits
Author SHA1 Message Date
Brian Fopiano 0c5d453b24 Merge cave-stilt 2026-11-04 02:38:50 -05:00
Brian Fopiano 04649aedbc Merge tiling 2026-11-04 02:38:38 -05:00
Brian Fopiano 6043c4fcaf Seat cave objects on ground
- Add IObjectPlacer.caveCell, answered from the carve by CaveObjectPlacementTransaction
- Move ORGANIC_STILT and CEILING_HANG cave objects until they touch the floor or roof
- Seat flora on its stem or trunk and ignore buried cap rims
- Drop cave placements with no floor or roof in reach or only fluid beneath
- Close gaps up to 8 blocks with rock and give longer drops a short ragged root
- Never repeat ore or flora; ore in a rock bottom uses the layer's rock
- Key cave jitter and scratch on CellHash
- Add CaveStiltProbe for vertical runs, seating, ore lines and column digests
- Recapture the schema digest for the new mode descriptions
2026-11-04 02:16:16 -05:00
Brian Fopiano 4bf7ef22d8 Organic cuts and fills
- Supply structure fits with IrisStructureStrata in Bukkit and modded policies
- Paint bank and inlet cuts with the biome layers from their new surface
- Delete strataIndex, the tidal bank cut limit and isTidalBank
- Add uncutTerrainDigest probe for uncut columns and the cut mask
2026-11-04 01:21:09 -05:00
Brian Fopiano 0a863e6ed9 Lower rivers toward the sea
- Add SeaApproach: lowers the last stretch above an estuary in small steps after planning
- Plan arms and grottos against the network before the approach
- Keep inland falls, high coasts and water beside ponds
- Add mouthProbe with sea drop metrics, sections and reach digests
2026-11-04 01:11:51 -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 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 c17e5d9c9a Report unlinked reach water
- Add unlinkedWater to the hydrology raster metrics: wet cells along a reach polyline that the stream link radius cannot join
- Print it per window from hydrologyProbe, without failing the run
2026-11-03 16:29:47 -05:00
Brian Fopiano 5c14b34179 Separate amethyst decor in probe
- Report chunk order mismatches with and without amethyst cave decoration
- List what covers or replaces sea level water on tidal arm columns
2026-11-03 16:22:30 -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 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 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 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 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 117191a479 Add cave fluid probe
- caveFluidProbe generates 8 by 8 chunk patches spaced 64 chunks apart
- Reports pools, lava pools, lava bodies, bodies 32 or more wide and springs per 1000 chunks by depth band
- Sets bottom-of-the-world cave lava apart from the counted lava bodies
2026-11-03 10:22:10 -05:00
Brian Fopiano 855c2e7f61 Rebaseline river length
- RIVER_LENGTH 384 to 352, owner sign-off R100
2026-11-02 21:11:48 -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 a21e59f53b Fall and estuary check fixes
- missingSurface: a sea-floor head under sea layers or sea decoration holds its cover or its own planned fluid, so a wrong fluid at a frozen estuary or inlet head fails again (R76).
- Column parity test mirrors the open-water-under-a-fall rule with a random 4-neighbour of its own head and role, guarding the actuator against drift from the mantle fall rule.
- An inlet mouth under a fall keeps open sea water, and one without a fall keeps its sea layers.
- bermOverCap still counts an over-cap wall beside a lake's outlet, which is never held.
2026-11-02 07:36:04 -05:00
Brian Neumann-Fopiano ecbd177360 Probe gates know estuaries
- missingSurface lets mouth columns take the biome sea layers like inlet columns, as the terrain stage paints them
- missingSurface accepts the biome's own decoration at the head of mouth and inlet columns, which are decorated like the sea they join
- missingSurface expects each column's effective fluid, so seam columns expect their seam
- risingWaterSegments compares reach heads with the pond's snapped head instead of its raw level
- bermOverCap spares the containment wall of pond outlet water held at its pond's head, the accepted perched flume
2026-11-02 06:30:26 -05:00
Brian Neumann-Fopiano 2ddc9f1106 Integrate lane B
- Merge lane B (sea surface, sea inlets, cave pools, wetness, persisted codes, scheduling knobs) onto lane A
- PackHydrologyValidatorTest keeps lane A's loadHydrology helper and lane B's validation tests
- Recapture HydrologySettingsTest.DEFAULT_FINGERPRINT and SchemaBuilderIdentityTest.EXPECTED_SCHEMA_DIGEST for the combined settings and schema
2026-11-02 05:11:09 -05:00
Brian Neumann-Fopiano 358f7218f8 Junction errors name window
- Reach indexes take their window key and name it when a reach id appears twice in one plan
- Window planning passes its key through reach shaping, pond-channel settlement and confluence grading
- A downstream reach starting above its feeder's end fails closed naming the window
- Index, grader and plan-cache tests check that each failure names its window
2026-11-01 20:48:08 -05:00
Brian Neumann-Fopiano 75d28d16b2 Gate pool and inlet leaks
- Count sea inlet added leaks as leak cells present only with inlets on
- Fail the cave pool gate on pool cells that are not still sources of their fluid
- Compare pool sources against the fluid each cell resolves to
2026-11-01 20:42:33 -05:00
Brian Neumann-Fopiano bb6f3ca40b Gate hydrology probes
- Count roof breaches as sea inlet check failures
- Count raised berms over the fill cap as hydrology probe failures
- Exit the sea inlet gate with 1 on failed checks, order mismatches, inlets off sea level or leaks the inlets add
- Exit sea inlet inventory with 1 when a window fails to plan
- Exit the cave pool probe with 1 on containment failures or order mismatches
- Print a gate status line for both probes
- Cover the failure counting in the probe unit tests
2026-11-01 16:02:46 -05:00
SwiftSwamp 55bc7365f1 Merge remote-tracking branch 'origin/master' 2026-10-31 17:42:51 -06:00
Brian Neumann-Fopiano c2eca3e6bd Hydrology climate zones
- Hydrology climate splits the land into wet and dry zones with a noise style
- Dry zones keep only the dryRainfall share of rainfall and pond density
- Zone edges ease across the transition band
- Policy climateZones exempts an area from the dry zones
- Policy fluid also fills streams and rivers that flow through the area
- Bank steepness reads the steepest natural ground between the bank and the water
- Bank edges roughen with smooth noise
- Natural ground heights reach the rasterizer at full precision
- Settings reject climate values outside 0..1
- Hydrology probes read the full precision natural heights
2026-10-31 19:23:25 -04:00
Brian Neumann-Fopiano 1ed1044474 Datapack export
- /iris datapack export compiles one pack dimension into a worldgen datapack for Minecraft 26.3 and later
- Bukkit and mod loaders take the same version, mode, namespace, output, format, objects and replace arguments
- The default overworld mode replaces the Overworld of a new world with the default world type
- Preset and dimension modes write a selectable world preset or a separate dimension
- The export runs in the background and publishes the zip or folder atomically
- Pack compiler stages turn noise, terrain, caves, subterrain, biomes, surface, decoration, objects and structures into a version-neutral IR
- Capability lowering fits every field to 26.3 density function ranges
- Disjoint min and max nodes fold to the input that always wins
- The 26.3 writer emits density functions, noise settings, biomes, features, structures, presets and dimensions
- Every export carries the Iris logo as its pack.png
- Unused objects, templates and features are pruned from the output
- The pruner keeps pack.png without reading references from its bytes
- Imported pack datapacks are bundled into the export
- Every approximation reports an export limit diagnostic
- Generation cost is counted against a node budget and reported as a warning
- Cave biomes over the wall palette limit use the closest kept palette
- Jigsaw exports share the template encoder, block states, destinations and publisher with the worldgen export
- DataVersion carries the pack format minor and world data version
- Both platforms expose vanilla data from the server classpath
- GoldenHashEngine and the export probes share one chunk spiral scan
- Headless 26.3 probes measure export cost and compare column and chunk likeness against Iris
- Real-codec tests decode the exported resources with the 26.3 registries
- Paper registry tests run in isolated registry scopes
- Command help and messages cover the export in every language file
2026-10-30 22:59:04 -04:00
Brian Neumann-Fopiano 8773d4b008 Tiled hydrology lattice
- Stored lattice samples in compact 32x32 tiles with least-recently-used tile eviction
- Cached sampled pond rim columns in a block-resolution tile cache
- Read window coarse nodes from the fine lattice at stride 2
- Removed the window lattice and FineLatticeSource
- Sized the fine lattice for an eleven-window span and the region lattice for a seven-region span
- Updated lattice, planner and probe harness callers for the single fine lattice
2026-10-30 20:54:41 -04:00
SwiftSwamp f999728d61 Windows path fixes in tests
- Registry verification tests build expected paths with the platform separator
- Probe tests use platform absolute paths
- God, Windows... PLEASE.
2026-10-30 10:04:13 -06:00
Brian Neumann-Fopiano 3dc958edcf Stabilized shutdown and Studio
- Shutdown protection initializes before enable and drains inline when retention fails
- Cleanup preserves class loader retention and closes native providers in order
- Error reports retain context and handle empty stack traces
- Studio maps retain partial coverage and suspend hidden views
- Hydrology previews refresh when plans and rasters complete
- Terrain scratch hashing spreads lattice samples across cache slots
- Plugin and probe artifacts include LWJGL libraries and native resources
- Regression tests cover shutdown, error reporting, map progress, and terrain scratch
2026-10-26 23:29:21 -04:00
Brian Neumann-Fopiano 75837d757b Improved riverbed generation
- Pond levels follow intersecting lower channels
- Pond sampling covers requested flood margins
- Water steps align with sea level
- River crests grade into surrounding beds
- Riverbeds include varied cross sections and finer noise
- Submerged soils use stable block types
- Hydrology probes inspect wet bed geometry
2026-10-26 18:01:26 -04:00
Brian Neumann-Fopiano db0f98d103 Basin hydrology
- The route-and-reject hydrology system and its probes are removed
- Hydrology is configured under dimension hydrology and per biome, region and dimension hydrologyPolicy
- riverPolicy and the old hydrology config types are gone
- Grid kernels cover priority flood, D8 routing, flow accumulation, basin extraction, breaching and stream burning
- A basin spills at its pour point and an interior bump can never be the spill
- Region plans cover 4096-block regions on a 64-block grid for major rivers and lakes
- Window plans cover 512-block windows on an 8-block grid for reaches and ponds
- Plans are cached in memory, persisted per world under iris/hydrology and keyed by pack, seed, world height and settings
- Only the main runtime of an engine persists plans and stores swap on hotload and default runtime change
- Demand rasters outrank prefetch and stopping pregen withdraws its queued prefetch
- Ponds come from natural basins, seeded cups and chained cups with strictly falling levels
- A pond level never exceeds its rim plus maxFill or the end grade of any inflow
- Pond outlet loops are opened at their lowest pond
- Reaches split at junctions, pond outlets and 256-block grid lines
- Reaches meander, fit the valley, grade to a running minimum and smooth with Chaikin passes
- Drops of two blocks or more get a lip and one-block corner steps become dry rim ledges
- Cascades and waterfalls write falling fluid from the mantle at level eight
- Inflows into region lakes end at the lake level
- River mouths and water beside the sea sit at the sea surface
- The per-chunk raster gives terrain height, water head, role, tier, fluid, cave ceiling and shore distance
- WaterRole codes are stable and exposed to packs through the WATER_ROLE engine stream
- WATER_HEAD replaces the old river engine streams and an unknown stream name fails the pack load
- Banks take SMOOTH, LINEAR, CONCAVE, TERRACED or CLIFF profiles
- Containment berms grow as tall as the water needs
- Columns within two blocks of water stay solid and keep no Terrain3D overhang
- Seam dams hold water where new chunks meet chunks generated earlier
- The transition blend skips hydrology-owned columns
- Caves stay at least two blocks below river and pond beds
- The painter is the only writer of still water
- Objects cannot open water, falls or bank ground and solid objects may stand in water
- On-water objects need fluid at their anchor column
- Floating child islands stay out of channels
- Sea inlets run inland from cliff coasts at sea level and end in a chamber pool
- Inlet passages are sealed against carvers, subterrain features and the post pass
- Cave pools settle into carved lows, keep one fluid and stay out of inlet space
- Pool and inlet cells use their own cave actions in mantle data
- Water vegetation lists sit on tiers, ponds and hydrologyPolicy with SEA_FLOOR, SEA_SURFACE and SHORE_LINE parts
- Pack validation compiles hydrology settings and rejects empty or water-holding palettes
- Chunk generation fails closed when its 3x3 water rasters are not planned
- /iris find covers stream, river, major river, cascade, waterfall, mouth, pond, lake, dam, sea inlet and cave pool
- Generation history records the new feature types and drops old hydrology entries
- The studio map draws water from rasters up close and from plans when zoomed out
- Pregen prepares the current region and one region ahead
- hydrologyProbe, riverTransectProbe, hydrologyBlockProbe, seaInletProbe and cavePoolProbe report containment, rises, seams, tick conversion and missing surface
- Test forks run with a 2 GB heap, a 60-minute timeout and the Mockito agent loaded explicitly
- Generation with hydrology off is unchanged
2026-10-25 15:28:26 -04:00
Brian Neumann-Fopiano 18ba6e32ac Probe history digest
- Adds an opt-in digest of semantic and saved biome records per chunk
2026-10-22 11:05:58 -04:00
Brian Neumann-Fopiano d2106806a5 Merged wave1 into terrain bake
# Conflicts:
#	core/src/main/java/art/arcane/iris/generation/runtime/IrisComplex.java
#	probe/src/main/java/art/arcane/iris/probe/GenerationProbe.java
2026-10-22 02:16:40 -04:00
Brian Neumann-Fopiano 4d2e52bcc7 Palette section buffer
- Add SectionBuffer: chunk palette of written instances and short[4096] ids per section in y, z, x order
- Column tops are indexed per x-slice and padded so fan-out slices do not share a cache line
- Add ColumnRunHunk and forward column runs through the listening hunk and block update listener
- Terrain painter emits column runs and evaluates ores only inside the column's ore bands
- Bukkit generation writes into SectionBuffer and applies it through ChunkDataOutput
- Remove ChunkDataHunkHolder and the probe's ProductionBlockHunk copy
- Probe production buffers use SectionBuffer
2026-10-21 23:54:58 -04:00
Brian Neumann-Fopiano 1acda886b3 Memoized bake planes
- Planes fill lazily per column with ready bits and batch only missing columns on full-chunk requests
- Natural fills batch only the base heights Terrain3D still needs and reuse the sparse memo
- Bounds lattice and hydrology planner reads stay out of the bake
- Bake capacity is eight times the noise cache, covering the measured working set
- Generator evaluation counters and a bake census print from the probe
- Parity test compares batched chunk base heights and evaluation counts with the scalar path
2026-10-21 23:22:16 -04:00
Brian Neumann-Fopiano 391d5346ae Merged native noise packaging
- Probe and build wiring for the optional native noise library
2026-10-21 23:06:10 -04:00
Brian Neumann-Fopiano 78de23e461 Merged carve kernel
- Cell-bound cave carve classification with exact mixed-cell evaluation

# Conflicts:
#	probe/src/main/java/art/arcane/iris/probe/GenerationProbe.java
2026-10-21 23:04:20 -04:00
Brian Neumann-Fopiano 2d60898744 Native noise packaging
- Exclude native noise classes and libraries from Java 21 runtime jars
- Map the probe native library and policy properties to the native noise loader
2026-10-21 21:35:06 -04:00
Brian Neumann-Fopiano 217ed04f45 Split probe helpers
- Move chunk generation and buffer selection into ProbeChunkGenerator
- Move measured-window stage and counter lines into ProbeWindowMetrics
- Move hydrology pre-planning into ProbeHydrologyPreplan
2026-10-21 19:45:12 -04:00
Brian Neumann-Fopiano 7c4a5e1937 Added cave cell kernel
- Decide whole 8x8 adaptive cells as solid or open from lattice corner bounds with an ulp guard
- Evaluate only mixed cells per column with the original bilinear arithmetic
- Share the row kernel between serial and parallel adaptive classification
- Count solid, open and mixed cells and exact rows, printed by the generation probe
- Pin carve write sequences for eight carver configurations with golden hashes
2026-10-21 19:26:52 -04:00
Brian Neumann-Fopiano b6b01c88f5 Probe fidelity options
- Print measured-window stage totals from EngineMetrics as IRIS_GENPROBE_STAGES
- Time each context prefill task into its prefill timer
- Add gated generation counters for generator evaluations, corner starcasts and hydrology lookups
- Add -PprobeHydrologyPreplan to plan the probe area's hydrology tiles before warmup
- Add -PprobeHistoryRouter to generate through a generation-history router and registry contract
- Add -PprobeProductionBuffers to generate into production-equivalent block and biome hunks
- Print the mantle radius as IRIS_GENPROBE_MANTLE
2026-10-21 19:20:17 -04:00
Brian Neumann-Fopiano e2430500cf Added probe parity oracle
- Dump every genProbe chunk as palette-indexed blocks and biomes with -PprobeDumpFile
- Add genDiff task comparing two dumps by coordinate with block, surface, biome and category parity
- Generate measured chunks on N threads in spiral order with -PprobeThreads and report wall-clock cps
- Mirror pregeneration with -PprobePregenProfile (pregen performance profile and hydrology prefetch scope)
- Print the measured window for JFR attribution and accept -PprobeJfrSettings
- Keep chunk hashes and the run signature byte-identical to the sequential probe
2026-10-21 18:47:25 -04:00
Brian Neumann-Fopiano 5633eec009 Added dimension takeover
- IrisDimension borrowedDimensionType reuses an existing registered dimension type instead of generating one
- Pack validation rejects borrowedDimensionType values that are not namespaced registry keys
- Generation contracts record the borrowed type key and capture it as an external registry definition
- Borrowed types bind when the pack min equals the type min_y and the pack top fits, with both ranges in the refusal
- Studio hotload rejects borrowed type changes and the world check validates borrowed ranges
- Forced datapack skips generated types and presets for borrowed dimensions and accepts retained borrowed epochs
- modded.json dimensionTakeovers writes a LevelStem per level key using the irisworldgen:iris generator
- Takeover changes quarantine the level chunk, entity, POI, and Iris data before load and track applied state per world
- Fresh levels adopt generation history with content-addressed biomes instead of legacy aliases
- /iris world takeover <dimension> <pack[:dimension]|off> with help and translations in every locale
2026-10-14 20:16:36 -04:00
Brian Neumann-Fopiano 99c7559f5d Extended probe worker drain
- Offline generation checks allow bounded hydrology prefetch completion

- Worker timeout failures include active pool state

- Tests cover timeout and interrupt handling
2026-10-13 12:30:09 -04:00
Brian Neumann-Fopiano 65894df632 Extended probe worker drain
- Probe workers share a bounded 120-second settling deadline

- Timeout failures include the unsettled pool state

- Tests cover active work, deadline expiry, and interruption
2026-10-13 12:29:53 -04:00