Commit Graph
5600 Commits
Author SHA1 Message Date
piexel ee9dfdfb2f Read the dimension once per biome actuation
- Hoist the dimension lookup out of the column loop
2026-11-27 00:48:50 +01:00
piexel 417e82d570 Link layer and decorator runtimes through the biome runtime
- Link surface, sea and ceiling palette layer runtimes by layer index in BiomeRuntime
- Link each decoration part's decorator runtimes in bucket order in BiomeRuntime
- Resolve the biome runtime once per layer pass and hand layers their runtime directly
- Remember the last wall layer runtime while painting carved walls
- Let palette layers and decorator chance gates take an already resolved runtime
2026-11-27 00:48:50 +01:00
piexel 188994e97b Resolve ore chance fields once per ore list and seed
- Add OreBandsRuntime holding the chance field of every generator in a band list
- Resolve ore band runtimes per column painter and reuse them while the column keeps the same bands
- Index ore bands by generator so placement reads the held chance field instead of a per-block lookup
2026-11-27 00:48:50 +01:00
piexel f630996c22 Read thread slots with one owner check
- Keep slot owners and values in parallel arrays so a thread in its home slot reads its value without a probe
- Skip the probe and overflow lookup until some thread has stored away from its home slot
2026-11-27 00:48:50 +01:00
piexel e0ad0b3ea9 Delete the transitional runtime lookups and weak engine holders
- Delete LazyBoundedCache, its test and the gate check for it
- Delete PackRuntime.forContext and pass explicit runtimes in generator sampling tests
- Hold structure placement scope indexes per live engine and drop them in the shutdown sequence
- Hold the ownership store engine strongly now that closed engines release their store
2026-11-26 21:35:16 +01:00
piexel 7a3d2b10bb Release engine-keyed structure registries when an engine closes
- Keep structure graph compilations in the pack scope of their pack data
- Hold live engines strongly in the structure registries and drop each one in the shutdown sequence
- Release the native structure ownership store of a closed engine and refuse to reopen it
- Build structure indexes uncached for a closed engine
- Settle the remaining static holders in the ledger and delete the pending list
2026-11-26 21:08:02 +01:00
piexel 170e5a726e Release engine references from thread scratch
- Clear the decorator placement mantle reference when each placement returns
- Release carve scratch biome, cavern and layer memos when each chunk is carved
- Resolve carving blend profiles through the engine's thread resolver state
- Move carver, mantle writer and history router thread flags into thread slots
- List the remaining scratch thread-locals with what each one references
- Check statics for thread slots in the ledger gate
- Expect the engine release probe to pass
2026-11-26 20:51:11 +01:00
piexel d6d87a47d2 Move per-thread generation state into engine-owned thread slots
- Keep live threads in thread slots and add bound values that a thread sets and removes
- Keep engine thread frames in thread slots instead of a thread-local overflow
- Move bake, hydrology, carver, mantle writer, complex, subterrain, terrain and history thread-locals into thread slots
- Keep the carving resolver fallback state in the pack runtime instead of a static thread-local
- Check that a live worker drops the resolver state and engine once the engine is unreachable
2026-11-26 20:37:00 +01:00
piexel 99a6e5ddb6 Move effect latches into the pack runtime
- Keep one effect interval latch per effect in the pack runtime
- Pass the pack runtime to effect checks on players and spawned entities
- Resolve the deposit pack runtime once per chunk instead of once per clump
2026-11-26 20:17:47 +01:00
piexel 66b4ab8bd2 Move object placement runtime state into the pack runtime
- Keep surface warp generators per seed in the pack runtime
- Pass the pack runtime to placement density, surface warp and heightmap sampling
- Remove the surface warp cache, its key and the unused replace generator cache
- Cover surface warp scoping with engine and standalone runtimes
2026-11-26 19:58:01 +01:00
piexel 4f084a7d7a Move decoration runtime state into the pack runtime
- Add decorator and deposit runtimes and ore chance seed tables to the pack runtime
- Pass the pack runtime through decorator sampling, decorator placement and hydrology vegetation
- Resolve the pack runtime once per column in the engine decorators
- Pass the pack runtime to ore generation and deposit clump lookups
- Remove the decorator, ore chance and deposit clump caches and their keys
- Cover deposit clump scoping with a runtime test in place of the key test
2026-11-26 19:46:41 +01:00
piexel 1a93918b82 Move terrain palette and carving generators into the pack runtime
- Keep material palette and carving child generators in pack runtime seed tables
- Pass the pack runtime to material palette sampling and carving child lookups
- Give object placement contexts their pack runtime
- Bake procedural variants in the pack's own runtime scope
- Remove unused dimension caches and the coordinate fracture cache
- Remove the material palette generator key and its caches
2026-11-26 19:19:45 +01:00
piexel f6b1bf7e05 Move biome runtime state into the engine pack runtime
- Add biome, palette layer and floating child runtimes owned by the pack runtime
- Keep the floating island chunk memo in engine-owned thread slots
- Give seed tables seed-indexed recent slots
- Pass the pack runtime through biome layer, palette and floating island sampling
- Remove the biome, palette layer and floating child caches and their keys
- Delete IrisBiomeLayerHeightCache
- Record the floating island diagnostics as scratch in the state gate
- Update tests to resolve generators through a pack runtime
2026-11-26 19:04:59 +01:00
piexel 305dbd63e3 Move noise runtime state into the engine pack runtime
- Add SeedTable for bounded per-seed lookups
- Add GeneratorRuntime and ExpressionRuntime for engine-derived generator and expression state
- Build style, noise layer, generator and expression state through PackRuntime tables
- Pass PackRuntime through noise, generator and expression sampling instead of IrisData and Engine
- Remove engine-keyed caches from IrisGeneratorStyle, IrisNoiseGenerator, IrisGenerator, IrisExpression, IrisExpressionFunction and IrisExpressionLoad
- Give export compilers and studio tools their own standalone runtime scope
- Drop the migrated noise entries from the pending ledger
- Update noise, expression and caller tests to the runtime API
2026-11-26 18:35:40 +01:00
piexel 43cc702a9e Add engine-owned pack runtime scope and release probe
- Give each generation runtime a PackRuntime that pack-derived runtime objects will live in
- Give IrisData a standalone PackRuntime for engine-less tools, replaced on dump
- Add RuntimeTable for identity-keyed lazy runtime objects
- Add ThreadSlots for bounded per-thread values owned by a runtime object
- Add a real-engine probe that expects a closed engine to be collectable
- Keep scratch and static holders pending until they are reviewed
2026-11-26 18:03:18 +01:00
piexel beb665d1b7 Add pack runtime state ledger gate
- Classify every non-serialized pack field, thread-local and engine-holding static
- Fail on unlisted fields, stale entries, engine references and LazyBoundedCache in pack types
- Track the fields still to migrate in a pending list
2026-11-26 17:55:41 +01:00
piexel 1e04f61957 Keep custom leaves from decaying and from cutting logs
- Implement the log and leaves checks added in https://github.com/VolmitSoftware/VolmLib/pull/4 so master compiles against the current VolmLib again
- Let external providers make a block persistent and report block tags
- Make CraftEngine leaves with a persistent property keep their leaves when decay is prevented
- Count CraftEngine blocks with the logs and leaves tags as logs and leaves
- Skip leaf placements that would replace a log another object placed
- Make object placement persist leaves by their persistent property, not their distance property
2026-11-23 23:31:03 +01:00
Brian Fopiano 435ed10648 Merge pull request #1264 from VolmitSoftware/fix/fracture-mirror
Stop fractured noise from mirroring across x = z
2026-11-23 13:42:18 -05:00
piexel ed44db5497 Stop fractured noise from mirroring across x = z
- Read each composite fracture axis from its own reseeded generator at unswapped coordinates in IrisNoiseGenerator and the batched NoiseLayerProgram
- Read the datapack exporter's z warps at unswapped coordinates
- Add a mirror test for the composite fracture and move the fracture test reference to per-axis seeds
- Retake NoiseSeedCohesionTest (Linux/Windows digest), IrisCaveCarver3DCellKernelTest PACK_SHARED and three IrisMathNoiseHotPathParityTest values
2026-11-14 17:32:08 +01:00
Brian Fopiano 832070cd69 Fix foundation cell lookup
- Call lowestFoundationCells in NMS surface terrain tests
- Match the renamed VolmLib occupancy method
2026-11-11 01:08:33 -05:00
Brian Fopiano ed037ea40b Remove GitHub release builds
- Delete the release workflow and its helper scripts
4.3.8-26.1.2-26.3
2026-11-07 16:20:47 -05:00
Brian Fopiano 589ed4e09a V+
Version 4.3.8
- Iris version is 4.3.8 in gradle.properties
- Root build defaults to version 4.3.8
- Fabric, Forge and NeoForge builds default to version 4.3.8
2026-11-07 15:48:14 -05:00
Brian Fopiano 743120df7d Skip unresolved structure captures
- Skip structure placements that fail to resolve in history capture
- Pass underground step to the structure river check
- Update planner tests for the new river check signature
2026-11-06 19:28:39 -05:00
Brian Fopiano 335b02f276 Merge lane B
- Land force place, unknown hydrology key warnings and the river fluid warning
- Rename dryDrawdown, minHeadKeep and waterfallMinDrop across new code
- Drop minCliffHeight with the old sea inlet passages
- Keep per-placement failure containment on forced and replaced pieces
- Repin the schema digest
2026-11-04 10:50:16 -05:00
Brian Fopiano 0274b72f92 Disable signing in test repo
- Keeps the noise artifact test working with signed commits configured
2026-11-04 03:22:37 -05:00
Brian Fopiano f4f7e92a4c Keep generating past failures
- REPLACE_SOURCE failures no longer stop the chunk: skip the piece or structure and warn once per structure and cause
- Replace requirePlacementOutput with placementOutput and remove requireAppliedPieces
- Key structure piece warnings on the structure, not the object
- Register the VolmLib placement failure hook from IrisEngine, using the engine failure rule
- Add HydrologyPlanException so a failed plan read inside a placement scope stops the chunk
- Add modded containment tests, with source rules for the 26.2 and 1.21.1 test sources
2026-11-04 03:08:58 -05:00
Brian Fopiano d0923de181 Merge gen-crash 2026-11-04 02:38:50 -05:00
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 78a521769a Merge mouths 2026-11-04 02:38:37 -05:00
Brian Fopiano 1df8f6040f Merge f2g 2026-11-04 02:38:37 -05:00
Brian Fopiano 7b38f75846 Name skip origin frame
- Name the first Iris frame in skip warnings instead of the library frame that threw
2026-11-04 02:34:38 -05:00
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 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 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 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