Commit Graph
5590 Commits
Author SHA1 Message Date
Brian Neumann-Fopiano de62c76807 Sea head review fixes
- The mouth sea-level check covers only the trailing mouth run of reaches that end in the ocean
- Ocean-flagged points inside a reach no longer fail planning closed
- Reach checks are split into a below-sea pass and a trailing-mouth pass with one failure message builder
- Reflooded ponds stop lowering at the sea surface and drop instead of standing below it
- A sea-strip slope fixture reproduces mid-reach mouth points above sea
2026-11-01 20:12:45 -05:00
Brian Neumann-Fopiano 0ca3a61046 Resolve cut-off inlet competitors
- Let a cut-off inlet still make a later conflicting inlet yield, and never list it
- Throw when a window's own inlet reaches the edge of its planning span
- Check the planner's chamber and step lookups against the sea-inlet extent guard
- Remove the reach ownership filter, which never removed a span reach
- Plan inlet tests on window spans and add bay, guard, edge and fail-closed tests
2026-11-01 19:56:27 -05:00
Brian Neumann-Fopiano d341e114b5 Sea heads fail closed
- Window plans reject sea inlets off sea level, reaches graded below sea level, mouths not at sea level and ponds below sea level, naming the window and feature
- Coastal fractal and cliff coast scenes pin inlet levels, mouth grades, minimum grades and raster mouth and inlet heads at sea level with no sub-sea air
- Hand-built plans with off-sea mouths, sub-sea runs and sunken ponds fail closed
- The coastal fall raster test also runs with a 32-block bank band
- Planned scenes expose their sea inlets and synthetic terrain can be lowered
2026-11-01 19:50:10 -05:00
Brian Neumann-Fopiano 1cdc30e1ca Confluence settling review fixes
- Look reaches and outlet ponds up through ReachIndex.reach and ReachIndex.outletPonds, built once per plan, instead of per-chunk maps in ChunkFeatures.Links
- Find a feeder's downstream reach across the loaded windows and fail closed when two windows own it
- Clamp a no-lead-in shared outlet to the last pond with its id in its own plan when every sharing pond is in that plan, matching ReachGrader.outletPonds
- Rebuild an outlet's held lip with the shared ReachShaper.nearLip rule and keep it fixed when the outlet settles across a window line
- Rename the feederLink local that shadowed the owned-reach lookup
- Add ChunkWaterRasterTest cases for the downstream outlet pond level, a fully pooled stub, the held lip, the same-plan shared outlet and the duplicate owner
2026-11-01 19:27:01 -05:00
Brian Neumann-Fopiano 21ed677bf4 Agree sea inlets across windows
- Pass the planning window to SeaInletPlanner from WindowPlanner
- Mark a site clipped when its candidate area or any trace, cover, mouth or chamber lookup reaches the span edge
- Keep clipped inlets out of separation and the planned list unless the planning window owns them
- Avoid only reaches owned by the planning window or its 8 neighbours
- Add InletTerrain span views and an open-coast 3x3 window agreement test
2026-11-01 19:07:41 -05:00
Brian Neumann-Fopiano e62585b450 Cross-window confluence settling
- Track every reach owned by the nine loaded windows in ChunkFeatures.Links.owned
- Settle a feeder whose downstream reach has another owner window into L = min(raw downstream start, raw feeder ends, downstream outlet pond level) through LinkBlend.settleInto
- Delegate LinkBlend.settleInto to ConfluenceGrader.settle with vertex 0 and outlet-zone vertices fixed, spreading the junction on tiers without cascades
- Restyle every grade change made by link clamping or settling with ReachShaper.styles, so seam drops become cascades and waterfalls
- Rebase the cross-window width and depth blend on the junction width so an already flared downstream reach is unchanged
- Clamp a led-in pond outlet to the pond it leads out of instead of the lowest pond sharing it
- Make ConfluenceGrader.spreadJunction and ReachShaper.styles public
- Add ChunkWaterRasterTest cases for cross-window settling in both window orders, styled seam drops, spread junctions, flare rebasing and shared outlets
2026-11-01 19:04:05 -05:00
Brian Neumann-Fopiano b6166bc6fa Junction width flare
- Blend a downstream reach's half-width over its first 16 blocks from the widest feeder end to the width law in ReachShaper.widths
- Move the blend math into the shared LinkBlend.blend(from, to, along) used by both the planner flare and cross-window links
- Measure the cross-window width blend from the junction vertex, so led-in pond outlets blend from their real junction
- Add ReachShaperTest.junctionWidthBlendsOverSixteenBlocks and ChunkWaterRasterTest.ledInOutletWidthBlendsFromItsJunctionAcrossAWindowLine
- Skip reaches whose end lies inside the junction flare in widthFollowsSqrtCatchment
2026-11-01 18:34:34 -05:00
Brian Neumann-Fopiano 9c95e7901c Pin persisted enum codes
- Give HydrologyFeatureType, ReachStyle and PondKind explicit codes equal to their old ordinals
- Add PersistedCodes lookup tables that reject duplicate, out-of-range and unknown codes
- Write and read codes in HydrologyPlanCodec; unknown codes decode as malformed plans
- Write and read codes in GenerationSemanticIndex shard records and region summaries
- Order summary river types and the river feature comparator by code
- Pin the code tables and a captured plan byte fixture in tests
2026-11-01 18:31:01 -05:00
Brian Neumann-Fopiano 52761e1784 Confluence review fixes
- Spread the junction step of feeders on tiers without cascades through the grader's spread rule, never moving outlet zone or held points
- Extract ReachGrader.spreadPoint from the spread pass and clamp it so it only lowers
- Throw when a downstream reach starts above its feeder's end, naming both reach ids and the junction
- Restore the per-reach waterfall check in gradeNeverRisesDownstream, excluding drops that land at or below the stepped twin's junction level
- Add ConfluenceGraderTest for spread junction steps, the fixed-point exception and the fail-closed junction
- Describe junction spreading in the cascades setting and recapture the schema digest
2026-11-01 18:18:40 -05:00
Brian Neumann-Fopiano f6fbf9147f Keep reserved subterrain over transforms
- Let reserved subterrain cells without hydrology answer before a transformed column in every post-transform reader
- Move the transformed override into CarveOwnership.carved so the five readers share one order
- Read the natural opening and the cavern only when hydrology and subterrain leave the cell open
- Cover reserved passages and the reserved-solid transform case in the ownership tests
2026-11-01 18:15:28 -05:00
Brian Neumann-Fopiano b11ff94737 Restore transformed carve override
- Rank CarveOwnership as hydrology over subterrain over natural opening over cavern
- Share the subterrain claim predicate and the carved answer through CarveOwnership
- Let a transformed column override MantleWriter point and column readers and EngineMantle.isCarved again
- Resolve the untransformed MantleWriter column readers per block through CarveOwnership
- Keep IrisCarveModifier.carveOwner package-private and test it in its own package
2026-11-01 18:04:26 -05:00
Brian Neumann-Fopiano 4cf141b97b Confluence grading
- Add ConfluenceGrader: feeder tails touching the receiving channel or a sibling settle to the junction level, capped at 64 blocks of arc
- Grade small junction differences over an approach ramp of one block per four, and keep larger ones as one fall at the receiving bank
- Never move pond outlet zone or held outlet points while grading confluences
- Run confluence grading after the finish pass in ReachShaper and restyle the reaches it lowers
- Add ReachShaperTest cases for feeders meeting the junction level and a hanging tributary falling at the receiving bank
- Compare drop counts by size instead of cascade and waterfall point styles in gradeNeverRisesDownstream
- Assert no confluence tongues on openFractal seeds 1 to 3 in WindowPlannerTest
2026-11-01 17:58:33 -05:00
Brian Neumann-Fopiano ccd5551854 Share carve ownership rule
- Add CarveOwnership, ranking hydrology over subterrain over transformed over natural
- Resolve IrisCarveModifier cell ownership through IrisCarveModifier.carveOwner and CarveOwnership
- Let hydrology win over subterrain rooms and transformed columns in MantleWriter isCarved and isPrerequisiteCarved
- Check subterrain rooms in EngineMantle.isCarved and let hydrology win over transformed columns
- Add CarveOwnershipTest running every reader over every flag combination
2026-11-01 17:48:15 -05:00
Brian Neumann-Fopiano 6f38d98e9e Check reachable biome fluids
- Engine start validates every reachable biome policy fluid while cave pools are enabled
- caveFluidPolicies stays computed from cave biomes, regions and the dimension only
2026-11-01 17:30:19 -05:00
Brian Neumann-Fopiano 50839c4833 Outlet review fixes
- Treat an outlet as led in only when its first vertex lies inside its source pond mask, so links and corner blocks keep the first vertex as the junction when the lead-in was skipped
- Hold and lead in each outlet draft once, from the pond the grader uses as its source, through the new ReachGrader.outletPonds
- Let ocean points keep the sea cap on held outlet stretches
- Add tests for a skipped lead-in junction, two ponds sharing an exit, and a held outlet running into the sea
- Plan the openFractal outlet scenes inline and count only the outlets that detachedOutlets checks, through the new WaterInvariants.checkedPonds
- Reuse the WaterInvariants segment geometry helpers in WindowPlannerTest
2026-11-01 17:29:53 -05:00
Brian Neumann-Fopiano 1e41c9eca0 Inherit cave pool fluids
- Cave pools resolve fluid from the cave biome, then region, then dimension
- Engine.getCaveBiomeBelowSurface returns no biome where caves fall back to the surface
- caveFluidPolicies turns on only for cave biome, region or dimension fluids
- IrisDimension.getReachableCaveBiomes lists region cave biomes and carving bands
- Recapture the schema digest for the cavePools.fluid description
2026-11-01 17:19:24 -05:00
Brian Neumann-Fopiano 0dabc54e88 Outlets start on the shore
- Hold the leading outlet points near the pond at the pond level in ReachGrader, and keep spread from lowering them
- Prepend a lead-in from the nearest pond mask node to each non-lake outlet, unless the anchor would fold the reach back on itself
- Give held outlet points at least a one-block half-width and carry the held flags through chaikin and unfold
- Add PondMask.Cell and PondMask.nearest
- Link led-in outlets to their feeders at the junction vertex in ChunkFeatures, falling back to the first vertex's window
- Count equal-head water inside the outlet footprint as outlet water in WaterInvariants.detachedOutlets
- Add tests for the lip outlet, the tributary junction, the fallback exit, the swallowed outlet and the cross-window led-in feeder
- Assert connected outlets on openFractal seeds 1-7 and in the planned scene, and tighten the settled-pond shore check
- Check outlet exits at the junction vertex in ReachShaperTest
2026-11-01 17:15:27 -05:00
Brian Neumann-Fopiano 028c3e322f Merge branch 'size-bootstrap' into size-natives-guides 2026-11-01 17:00:50 -05:00
Brian Neumann-Fopiano c89bec2850 Thin Bukkit entry classes
- Move plugin lifecycle, static state and logging helpers from Iris into the payload-only IrisRuntime
- Keep Iris as one-line forwarders through the IrisPluginRuntime bridge interface
- Move the Paper bootstrap body into the payload-only IrisBootstrapSequence
- Read the world reconciler, replacement manager, debug dump and chunk tickets through IrisRuntime.require()
- Pass the world generator resolver to BukkitWorldReconciler instead of the plugin
- Replace KList and IO uses in VolmitPlugin with JDK code
- Remove the unused sync job queue, Java version helpers, addPanic, imsg and the onCommand passthrough
- Keep generation kernel revisions, map view icons and the datapack icon only in the packed payload
- Cap the packed bootstrap at 90 classes
- Point entry-class tests at IrisRuntime and IrisBootstrapSequence
2026-11-01 16:59:36 -05:00
Brian Neumann-Fopiano 701b3191eb Supply structure sea surface
- GenerationWritePolicy.seaSurface returns minHeight + fluidHeight and the first fluid of the dimension fluidPalette
- Dimensions with no sea fluid or a sea at the world floor return StructureSeaSurface.NONE
- Bukkit and modded structure stage policies supply the sea surface to native structure fitting
- Native fitter tests pass SeaSurface.NONE to keep their expectations
- FLATTEN descriptions state the sea-surface clamp and sea-fluid fill
- Schema digest recaptured for the description change
2026-11-01 16:50:57 -05:00
Brian Neumann-Fopiano 06bd50d1a0 Lowest water owns confluences
- Add ReachCursor.Waters, which keeps the nearest covering segment per reach and resolves the channel owner by planned head, then wider half-width, distance, id and segment
- Offer covering segments to Waters in ReachSegments.evaluate and resolve the owner at the end of every nearest lookup
- Prune channel candidates by segment radius once the scope is CHANNEL or any water covers the column
- Cut channel and trench beds to the deepest bed among covering reaches whose snapped head equals the owner's head
- Add ChunkWaterRasterTest.receivingRiverOwnsItsFootprintAtAConfluence
- Flip the PlannedSceneTest confluence tongue cases to expect no tongue
- Expect the wider equal-level channel in ReachIndexTest and the lowest covering channel in PondChannelSettlementTest
2026-11-01 16:41:40 -05:00
Brian Neumann-Fopiano 714b4499b0 Download noise natives and language guides instead of bundling them in the Bukkit jar 2026-11-01 16:29:20 -05:00
Brian Neumann-Fopiano 1d23587b90 Match LWJGL natives jars by file name in GpuLibraryTest 2026-11-01 16:29:20 -05:00
Brian Neumann-Fopiano a06f487279 Scene invariant fixes
- Check confluence tongues against the downstream reach and every sibling feeder
- Skip features within 32 blocks of the planned block edge in all three invariants
- Split the detached outlet controls into shore-gap and lower-start cases
- Plan the cached openFractal scene with rainfall 0.5 so pond drawdown applies
- Clear the cached scene after the test class
2026-11-01 16:25:35 -05:00
Brian Neumann-Fopiano 8bc1ed760e Key cave pool walls
- Cave pool walls carry the pool's fluid key instead of the unknown default profile
- A wall shared by two pools keeps the lowest fluid key, whatever the chunk order
- The carve waterlogging pass resolves a fluid only for wet hydrology cells
- Tests cover unknown-fluid logging for pool walls and shared-wall chunk-order independence
2026-11-01 16:25:32 -05:00
Brian Neumann-Fopiano 118c64b50b Planned scene fixture
- Add PlannedScene, which plans a block of windows with RegionPlanner and WindowPlanner and rasterizes it with ChunkRasterizer
- Add WaterInvariants with detachedOutlets, confluenceTongues and subSeaAir
- Add PlannedSceneTest, which characterizes today's detached pond outlets on openFractal(1) over 2x2 windows
- Add hand-built checks for each invariant
- Rename SyntheticTerrain.fractal to openFractal and update its call sites
2026-11-01 16:11:07 -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
Brian Neumann-Fopiano 69416c235c One water-head rule
- Add WaterHeads.snap as the single sea-level parity rule for water heads
- Route RasterComposer heads through WaterHeads.snap and drop its private level helper
- Route PondChannelSettlement heads through WaterHeads.snap and drop its private head helper
- Route ChunkFeatures and ReachSegments hasOnlyLevel checks through WaterHeads.snap
2026-11-01 15:53:59 -05:00
Brian Neumann-Fopiano 30c7492679 Keep Engine API in release shrink 2026-11-01 14:58:37 -05:00
SwiftSwamp 8b99f0b75f Merge remote-tracking branch 'origin/master' 2026-11-01 10:16:11 -07:00
Brian Neumann-Fopiano 8734c38361 BTA 2026-10-31 22:42:16 -04:00
Brian Neumann-Fopiano 2d4ede41dd Merged pack authoring features
- Biome effects choose their sound category on every platform
- Hanging vines keep supported authored side faces on every platform
- Inland water above sea level keeps its land biome
- River reaches take the policy fluid of their upstream end
- Fluid profiles can name a seam that lines their edge against other fluids
2026-10-31 22:27:31 -04:00
Brian Neumann-Fopiano bd44272802 Schema digest
- Studio schema digest covers seam and sound category fields
2026-10-31 22:07:15 -04:00
Brian Neumann-Fopiano 31da551c04 Merged effect sound and vine fixes 2026-10-31 22:03:58 -04:00
Brian Neumann-Fopiano 067fffe066 Ceiling vine curtains
- A vine under a sturdy ceiling keeps its authored side faces
- Vines below it hold those faces through the vine above
- The vine-above check reads the facing before the material key
2026-10-31 22:03:49 -04:00
Brian Neumann-Fopiano c2eb8b5f42 Fixed effect sounds and vines
- Store the effect sound category as a vanilla category name
- Resolve the sound category to a Bukkit category when an effect plays
- Send modded effect sounds on the authored category
- Skip the sound and warn once for an unknown sound category
- Keep authored vine side faces only where a sturdy block or the vine above holds them
- Attach kept vine faces upward under a sturdy block
- Reattach multi-face blocks with no holdable side face to sturdy neighbours
- Cover sound category and vine face rules on Bukkit and modded
- Repin the studio schema digest
2026-10-31 21:58:58 -04:00
Brian Neumann-Fopiano f686ec84f8 Merged fluid seam fixes 2026-10-31 21:42:45 -04:00
Brian Neumann-Fopiano 52989ce88d Fluid seam fixes
- Fluid seams seal from the 3x3 neighbour rasters in the effective water stage
- Seam bands spread across chunk edges like any other column
- Raw rasters keep their fluid so falls and history capture see the real fluid
- Seams no longer change the hydrology fingerprint
- Seam profiles may hold solid blocks but cannot fill tiers, ponds, cave pools or policies
- A seam profile cannot name a seam of its own
- Pack validation reports a policy fluid that names a seam profile
- Inland water skips columns outside the transition seam weight
- Channel fluid test covers the per-reach rule
2026-10-31 21:42:35 -04:00
Brian Neumann-Fopiano 64dc22025e Merged pack authoring features
- Rivers take the hydrology policy fluid of the area where each reach starts
- Policy fluid lookups for reach starts run in a sparse bake scope
- Effects, vine faces, inland water biomes and fluid seams come from the contributed branch
2026-10-31 21:26:16 -04:00
SwiftSwamp 55bc7365f1 Merge remote-tracking branch 'origin/master' 2026-10-31 17:42:51 -06:00
Brian Neumann-Fopiano b0860f94fc Gap-free object rotation
- Rotations off the right angles fill every target cell from the nearest source block
- Source blocks that no target cell samples still place at their rotated position
- Right-angle rotations keep the direct transform
- Markers, canopy and tile data follow their resampled source blocks
- Datapack export bakes off-angle variants with the same resampler
- The unused rotateCopy paths are removed
- Placement goldens match the resampled output
4.3.7-26.1.2-26.3
2026-10-31 19:23:25 -04:00
Brian Neumann-Fopiano 2462330787 Transition water caps
- Saved and blended columns find solid layers that cap water at the water head
- Surface search passes over a water cap to the ground below it
- A capped column keeps its fluid height at the top of the cap
- A painted cap counts only where the blended column keeps the same blocks
- Saved terrain sources report their water surface
- Displacement fluid keys come from the first fluid at or below the fluid height
- Empty fluid keys never win the fluid blend
2026-10-31 19:23:25 -04: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 304e66b74b Version 4.3.7
- Iris version is 4.3.7 in gradle.properties
- Root build defaults to version 4.3.7
- Fabric, Forge and NeoForge builds default to version 4.3.7
2026-10-31 19:13:08 -04:00
Brian Neumann-Fopiano f1c82e8cec Saved world on create
- /iris create saves a new world before spawn preparation
- A crash before the first autosave keeps the world's seed
2026-10-31 13:22:37 -04:00
Brian Neumann-Fopiano 9339c0869e Saved world on create
- /iris create saves a new world before spawn preparation
- A crash before the first autosave keeps the world's seed
2026-10-31 12:39:29 -04:00
Brian Neumann-Fopiano bb32ea9d25 Datapack export
- /iris datapack export compiles a pack dimension into a 26.3 worldgen datapack
- Bukkit and mod loaders share the export arguments
- Pack compiler stages lower noise, terrain, caves, biomes, decoration, objects and structures to 26.3 resources
- Every approximation reports an export limit diagnostic
- Decorators and objects follow Iris placement rules for water, slope, height and support
- Procedural objects export their pre-built variants as templates
- Jigsaw exports share the template encoder and publisher with the worldgen export
- 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 likeness against Iris
2026-10-31 03:41:40 -04:00
Brian Neumann-Fopiano 7ff4292013 Datapack export fidelity fixes
- Aquatic decorators place on the sea floor in water only
- Decorator waterlogging follows the placement site
- Templates never bake waterlogged blocks
- Object blocks outside the nominal box stay in the template
- Procedural objects export their pre-built variants as content-keyed templates
- Surface objects anchor on the ocean floor heightmap
- Surface objects reject leaf, log, or fluid ground under the origin
- Surface support checks test base corners with a slope-scaled drop
- Support ground search covers the full 16 block window
- MIN_HEIGHT, MAX_HEIGHT, and stilt modes sample terrain across every allowed rotation
- Procedural tree roots extend down to the ground
- Underwater objects need water and stay below the surface
- On-water objects anchor at the fluid surface
- Unsupported coral, sea pickles, and wall fans are left out of templates
- Object placements honor slopeCondition
- Two-block plants place both halves
- Shore decorators need solid ground below
- Decorator coverage matches the Iris style density
- Patchy decorator styles export as noise threshold patches
- Palette end weights round to the nearest count
- Ores in deepslate place their deepslate variants
- Pack description tells players to keep the Default pack selected
- Aquifer floods open sea cells near the fluid height
2026-10-31 03:36:32 -04:00
Michael 4a499c18c4 Let a fluid set the block that forms where it meets another fluid
World generation places fluids without updates, so where lava meets water or the sea the two sit
side by side instead of reacting. A fluid profile can now name a seam: another fluid profile that
fills its edge where it touches a different fluid or the sea (a dry column whose ground is below
sea level). A profile used as a seam may hold solid blocks, e.g. lava with a seam of obsidian,
magma and basalt gets a cooled crust where it meets water. Every touching cell (diagonals included)
seals, plus about 60% of the cells next to those, picked by a world-position hash, so the seam is a
ragged band rather than a straight line. Without a seam nothing changes.
2026-10-31 02:12:22 -05:00
Michael 09d6e4b720 Let hydrology policies set the fluid of rivers
A hydrology policy's fluid filled ponds and lakes, but channels always used their tier's fluid, so a
volcanic region could have lava lakes but only water rivers. Each reach now takes the fluid its
policy (biome, then region, then dimension) names where the reach starts, its upstream end, falling
back to the tier's fluid when no policy names one, and keeps it to its downstream end. Deciding per
reach rather than per column keeps a river one fluid from source to confluence, so two fluids only
meet where streams join or flow into a lake, not along every border a river crosses. River plans
and the plan cache are unchanged.
2026-10-31 02:12:13 -05:00