Commit Graph
1730 Commits
Author SHA1 Message Date
piexel 7d2db90522 Merge master
# Conflicts:
#	core/src/main/java/art/arcane/iris/generation/decoration/IrisProceduralBlocks.java
#	core/src/main/java/art/arcane/iris/generation/decoration/formation/FormationBlockResolver.java
#	core/src/main/java/art/arcane/iris/generation/decoration/tree/TreeBlockResolver.java
#	core/src/main/java/art/arcane/iris/generation/runtime/GenerationCacheWarmer.java
#	core/src/main/java/art/arcane/iris/studio/map/BiomeExplorer.java
#	core/src/main/java/art/arcane/iris/studio/map/NoiseExplorerGUI.java
#	core/src/main/java/art/arcane/iris/studio/map/PackFileOpener.java
#	core/src/main/java/art/arcane/iris/studio/map/PaletteLayerPreview.java
#	core/src/test/java/art/arcane/iris/generation/decoration/formation/FormationBlockResolverTest.java
#	core/src/test/java/art/arcane/iris/pack/schema/SchemaBuilderIdentityTest.java
#	core/src/test/java/art/arcane/iris/structure/object/IrisObjectPlacementRunnerRegressionTest.java
2026-11-28 18:25:27 +01:00
Brian Fopiano 512ea0b0d7 Allow empty sea and shore lists
- Keep the column biome when a region lists no shore biomes
- Keep the column biome when a region lists no sea biomes
- Pick continental sea from land in regions without sea biomes
- Fail complex compile when a region has no usable land biome
- Report regions without landBiomes as blocking validation errors
- Report regions whose land biomes are all version-excluded
- Use the region-aware base type in studio map noise views
- Handle missing sea biomes in studio sea layer views
2026-11-28 09:58:37 -05:00
Brian Fopiano 9425e802dc Skip retired continuation slices
- Add retired slice id list with TreeCanopy
- Skip unregistered retired slices by size prefix and warn once
- Split unknown and duplicate slice type errors
- Reject slice ids that overrun their size prefix
- Test retired skip, unknown id and duplicate failures
2026-11-28 09:58:22 -05:00
Brian Fopiano 95395cbc87 Cache saved terrain status
- Add per-slot terrain status cache under the iris folder
- Reuse a bit only when header location and timestamp match
- Decode again when timestamps fall near the previous scan time
- Never reuse bits for chunks stored in external mcc files
- Skip reading region files when every pending chunk is cached
- Use the cache only for the startup recovery scan
- Ignore unreadable or mismatched cache files and rescan fully
- Cover warm hits, invalidation and corrupt cache in tests
2026-11-28 09:58:21 -05:00
Brian Fopiano c71feb62e0 Fix bed rule for no-sleep dimensions
- Write destroy_on_use instead of the unknown explodes key
- Test bed rules for overworld, nether and end bases
2026-11-28 08:18:44 -05:00
Brian Fopiano 77969617d8 Fix Bukkit jar build
- Keep TomlSegments and ConfigComments in the shaded config classes
- Update the Mac noise hash after the fracture fix
2026-11-27 20:36:20 -05:00
Piexel ac5788ef02 Warn once for repeated pack warnings (#1262)
- Scope resource, loot and placement warnings to the pack
- Forget a pack's warn-once keys on reload and hotload
- Show read failure stack traces only the first time
- Drop least recently seen once-key past the cap
- Walk the caller stack only for stated warnings
2026-11-27 15:52:26 -05:00
Piexel d7c5526eab Add style seed and generator exponent (#1268)
- Add seed to noise styles, rolled from the world seed
- Read seeded styles flat in child, palette and decorator lookups
- Add exponent curve to generators on scalar and batch paths
- Reject generator exponents at or below zero
- Warn in datapack export when seed or exponent is dropped
2026-11-27 13:44:03 -05:00
Piexel 4c90095361 Warn on imported feature height (#1274)
- Warn when importedFeatures runs outside -64..320
- Point at disabled and disabledSteps to remove ores
- Stay silent when imported features are off
2026-11-27 12:58:04 -05:00
Piexel 25c612b3c3 Add requireAllContent (#1281)
- Add requireAllContent dimension setting, off by default
- Fail pack validation when flagged dimension loses reached content
- Skip content the dimension never references
- Keep declared fallbacks from failing the pack
- Name missing keys with up to three uses each
2026-11-27 11:58:38 -05:00
Piexel 6e078ad4a0 Add list snippets (#1271)
- Expand JSON array snippet files into list entries
- Read snippet values as JSON trees and skip malformed ones once
- Route snippet references through one SnippetFolder lookup
- Reject references that leave snippet/<type>/, including symlinks
2026-11-27 11:40:19 -05:00
Piexel fc5db87514 Skip unused broken packs (#1265)
- Skip unloadable packs no world uses and name them
- Fail compilation naming the pack and worlds that use it
- Exclude skipped packs from registry requirements
- Always create the dimension type folder
2026-11-27 11:40:08 -05:00
Piexel d720e9afab Fix studio world leak (#1276)
- Move seeded generator caches into engine-owned PackRuntime
- Replace per-thread ThreadLocal memos with engine-owned ThreadSlots
- Release engine-keyed structure entries when an engine closes
- Keep pack objects as read-only configuration
2026-11-27 11:39:53 -05:00
piexel 9af3ec30ad Edit procedural objects as nodes in the studio
- Show procedural parts as a scene view and leave them out of the objects view
2026-11-25 11:26:15 +01:00
piexel 47aef59858 Merge branch 't3/port-studio-v4' into t3/procedural-parts
# Conflicts:
#	core/src/main/java/art/arcane/iris/studio/bridge/StudioObjects.java
#	core/src/main/java/art/arcane/iris/studio/bridge/StudioProfiles.java
2026-11-25 11:08:07 +01:00
piexel 36b352ea05 Serve scene views and their editors from a scene layer
- Features list their views in SceneViews, the studio adds objects and procedural objects
- Edit, write and create scene entries' files from the studio
2026-11-25 11:06:45 +01:00
piexel c1734b6270 Merge branch 't3/port-studio-v4' into t3/procedural-parts 2026-11-25 10:17:10 +01:00
piexel ef24f2e8b2 Merge remote-tracking branch 'origin/master' into t3/port-studio-v4 2026-11-25 10:12:16 +01:00
piexel 9489ffd4ad Download the studio app at startup
- Bundle the built app in the Bukkit jar
- Fetch the pinned Electron build when the host has a display
- Add studio.downloadApp to turn it off
2026-11-25 09:26:56 +01:00
piexel c6a7225fa8 Build the studio link button in core
- Keep relocated Adventure types out of the plugin module
2026-11-25 09:26:55 +01:00
piexel 2ae765ca16 Tell the player why the studio app did not open
- Hand over a copy button for the studio link
2026-11-24 14:55:03 +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
piexel bf8077bd2c Drop studio views of removed tree, formation and procedural configs 2026-11-19 18:09:16 +01:00
piexel 696d9e44df Merge studio into procedural parts
# Conflicts:
#	core/src/main/java/art/arcane/iris/generation/procedural/part/BlockFace.java
#	core/src/main/java/art/arcane/iris/studio/map/LatestMeasurement.java
#	core/src/main/java/art/arcane/iris/studio/map/MapView.java
#	core/src/main/java/art/arcane/iris/studio/map/MapWindow.java
#	core/src/main/java/art/arcane/iris/studio/map/ObjectExplorer.java
#	core/src/main/java/art/arcane/iris/studio/map/ObjectMesh.java
#	core/src/main/java/art/arcane/iris/studio/map/ObjectOverviewPanel.java
#	core/src/main/java/art/arcane/iris/studio/map/ObjectSource.java
#	core/src/main/java/art/arcane/iris/studio/map/ObjectVariantPicker.java
#	core/src/main/java/art/arcane/iris/studio/map/ProceduralObjectSource.java
2026-11-19 18:07:09 +01:00
piexel a8f50d4b7a Retake the pack schema digest
- Biomes and regions no longer define proceduralObjects, so their schema lost it and its generator types
2026-11-15 17:29:57 +01:00
piexel 709c0939af Remove tree grounding and canopy tracking
- Delete the tree root planner and its placement module, and the grounding an object carried
- Drop canopy flags from the placer, the mutation log, source plans and continuation payloads
- Remove the canopy slice and the root pillars the datapack export built for grounded trees
- Retake the placement and bake goldens, which hash the same blocks as before the removal
2026-11-15 17:24:51 +01:00
piexel 08a2954f10 Remove seeds and bake timing from the object explorer
- Delete the seed chooser and the bake time meter that only baked objects used
- Drop the seed, bake and ground height hooks from the object source
- Keep the variant stepper and the side by side comparison
2026-11-15 17:12:42 +01:00
piexel 9c6d32a58b Remove the inline procedural objects
- Delete the tree, ruin, formation, coral, fungus and crystal generators and their placement types
- Drop the proceduralObjects fields from biomes and regions
- Remove their placement from the object mantle component, cache warmer, datapack export and mod biome adoption
- Remove the procedural studio view and its icons
- Remove the old decay-control placer and the tests for the removed generators
2026-11-15 17:10:21 +01:00
piexel 2cfb3d8dcc Replace the Swing studio with the studio app
- Open the app from map, noise and imagemap commands and from pregeneration
- Delete the Swing windows, GPU renderers and their tests
- Keep tile rendering, sampling, palettes and object sources as plain logic
- Open files through FileOpener instead of AWT Desktop
2026-11-15 11:17:34 +01:00
piexel 98e296b666 Add image maps and pregeneration views to the studio
- List the pack's image maps with a preview over the area they cover
- Show the running pregeneration's chunk map, progress and pause
2026-11-15 11:17:34 +01:00
piexel 3532c16906 Serve object and procedural views from the studio bridge
- List pack objects and baked procedural objects as scene views
- Time one bake per request for the bake meter
2026-11-15 11:17:34 +01:00
piexel dd7d838c6b Serve noise and palette views from the studio bridge
- Port the noise tile sources and lattice sampling to art.arcane.iris.studio.noise
- Lay out biome palettes as pattern tiles for the Palettes view
2026-11-15 11:17:34 +01:00
piexel a8470c8178 Add height, biome layer and load map views to the studio
- Serve the seven Swing tile views from the bridge
- Colour the height view in the app from tile heights
2026-11-15 11:17:34 +01:00
piexel 05984cf64a Serve config profile views from the studio bridge
- List cave, tree, formation and fluid profiles as scene views with settings forms
- Carve cave profiles with the engine's own carver in a throwaway mantle
- Bake tree and formation presets into objects and draw fluids in a lined pool
- Apply typed form values to a copy so pack files stay untouched
- Serve Minecraft client assets from the cached client jar
- Add ProfileForm unit tests
2026-11-15 11:17:34 +01:00
piexel 86ce2856e8 Add studio bridge server for the Iris Studio app
- Serve world, tiles, hover, regions, players and events over a loopback HTTP bridge
- Draw biome, region and river tiles with the Swing map's renderer
- Add /iris std app to open the studio on a world
- Add studioApp and electron studio settings
- Close the bridges when the studio service stops
2026-11-15 11:17:34 +01: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
piexel bdf6ad7cd0 Port parts-based procedural objects
- Add the v5 parts system under generation/procedural
- Load procedural/<path>.json as a pack resource
- Resolve procedural/<path> and procedural/<path>#<n> object keys
- List procedural keys with the pack's objects
- Rebake procedural objects when pack caches are cleared
- Use v4 noise for procedural palettes
2026-11-14 15:43:31 +01: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 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 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