Commit Graph
5247 Commits
Author SHA1 Message Date
piexel 029406b448 Mechanical: LazyBoundedCache comes from VolmLib (art.arcane.volmlib.util.cache) 2026-10-10 13:12:33 +02:00
piexel 08a4f64d9f Startup datapack ingest skips a pack whose modules fail to load, naming it, and asks the other packs 2026-10-10 13:11:15 +02:00
piexel 04ae40341f The built-ins jar holds iris:post, iris:perfection and iris:matter; its check sees VolmLib and Gson as exposed packages 2026-10-10 13:10:24 +02:00
piexel 213bdf9842 Iris exposes VolmLib and Gson to pack modules; iris:post, iris:perfection and iris:matter leave the compiled-in built-ins for the built-ins jar; tests load them from a pack's modules folder and through the API alone 2026-10-10 13:10:24 +02:00
piexel bf2a0b5e59 iris:post, iris:perfection and iris:matter use only IrisApi and art.arcane.iris.builtin; PendingSettings carries the dimension and biome settings C and T are moving; built-ins order after the jar's stages without requiring them 2026-10-10 13:10:24 +02:00
piexel bdf1389d77 Host side of the module surface: planned mantle blocks, VINE and canPlaceOn, fluid height and upper dimension, a chunk sampler over the neighbors, conversions that keep platform identity, stage timings into the named metrics, Iris's pending settings for the built-ins 2026-10-10 13:10:19 +02:00
piexel 00f220264a Loot and spawn decoding fixture carries the style snippets the dimension's ores now read 2026-10-10 13:08:32 +02:00
piexel b60ca588fe Merge branch 'wave3/l' into feat/irisapi-host 2026-10-10 13:05:52 +02:00
piexel 94f7551fa0 Merge branch 'wave3/c' into feat/irisapi-host
# Conflicts:
#	core/src/test/java/art/arcane/iris/core/modules/DecorantSettingsDecodingTest.java
#	core/src/test/java/art/arcane/iris/engine/actuator/TerrainModuleTest.java
#	core/src/test/java/art/arcane/iris/engine/object/world/biome/IrisBiomeInferenceIsolationTest.java
2026-10-10 13:05:52 +02:00
piexel 95a086f3e0 Merge branch 'wave3/l'
# Conflicts:
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiome.java
#	src/main/java/art/arcane/iris/engine/object/world/dimension/IrisDimension.java
#	src/main/java/art/arcane/iris/engine/object/world/region/IrisRegion.java
2026-10-10 13:05:31 +02:00
piexel 9b5ced0cc8 Merge branch 'wave3/c'
# Conflicts:
#	README.md
#	src/main/java/art/arcane/iris/engine/actuator/TerrainModule.java
#	src/main/java/art/arcane/iris/engine/mantle/components/CaveCarving.java
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiome.java
#	src/main/java/art/arcane/iris/engine/object/world/dimension/IrisDimension.java
2026-10-10 13:05:25 +02:00
piexel bc2db7222f Merge branch 'wave3/l'
# Conflicts:
#	CONTRACTS.md
#	README.md
2026-10-10 13:05:02 +02:00
piexel 52f85d7ae2 Merge branch 'wave3/t' into feat/irisapi-host 2026-10-10 13:04:54 +02:00
piexel 0a09c007af Merge branch 'wave3/t' 2026-10-10 13:04:54 +02:00
piexel bda84cc8c8 Merge branch 'wave3/c' 2026-10-10 13:04:54 +02:00
piexel dce02229f1 Tests for ambient effects, the spawner gate, content services, placement loot and the studio schemas of the spawn kinds 2026-10-10 13:04:02 +02:00
piexel 07cb9a57eb Test the AmbientEffects values 2026-10-10 13:01:33 +02:00
piexel 651ff77c85 README: iris:loot and iris:spawn settings, AmbientEffects, PlacementLoot 2026-10-10 13:01:15 +02:00
piexel a2bee86c1f Docs: AmbientEffects, Reference.SPECIAL_ENTITY 2026-10-10 13:01:15 +02:00
piexel fbbc9ce4ac Modded loot, drops, spawns, mobs and effects ask the modules through host-typed content services 2026-10-10 13:00:03 +02:00
piexel 697d21f8a4 PlacementLoot takes the placement's lists, so its picks can be tested 2026-10-10 13:00:03 +02:00
piexel c9efe0d73d ObjectPlacing: a dimension without a cave profile falls back to one shared default profile 2026-10-10 08:53:57 +02:00
piexel 781ff0931d Core stops reading the cave, floating and ore settings
Engine.getCaveBiome asks the pack's CaveBiomes service (ModuleServices.overriddenCaveBiome, caveMinDepthBelowSurface) instead of the
carving resolver and the biome's field; the State overload is gone and the Bukkit nms biome source stops threading one.
ModuleSettings.treeBiomes/usedBiomes feed IrisRegion.getAllBiomes and IrisDimension.getReachableBiomes from LinkedBiomes settings.
Tests: decoding of every moved key on the pre-port pack files (OreSettingsDecodingTest, CarveSettingsDecodingTest,
FloatingSettingsDecodingTest), CarvingResolverParityTest (was IrisDimensionCarvingResolverParityTest), EngineCaveBiomeTest,
CaveBiomeBandsTest, IrisRegionBiomeTreeTest, MovedModuleFieldsTest, the inferred variant keeps its module settings, and the
tests that built biomes with the removed fields use module settings
2026-10-10 08:51:28 +02:00
piexel 25f9ea2f37 LinkedBiomes: settings name the pack biomes they bring into the layout; CaveBiomes service: the cave biome a module puts at a position and a biome's minimum cave depth 2026-10-10 08:51:28 +02:00
piexel cff492ada8 Caves and floating islands are settings of iris:carve and iris:floating
caveProfile (CaveProfile is the feature, held by dimension, region and biome), carving (CarvingSettings of CarvingEntry),
carvingEnabled, carvingBiome and caveMinDepthBelowSurface are iris:carve settings; floatingChildBiomes and
mergeFloatingChildBiomes are iris:floating settings, all under the keys and shapes packs always wrote. CarvingEntry is
IrisApi-typed; ResolvedCarvingEntry, CarvingBands (the world's bands) and CarvingResolver (was IrisDimensionCarvingResolver)
hold the behaviour, CaveProfiles and FloatingChildren read the settings. iris:carve provides CaveBiomes (CaveBiomeBands).
CarvingBiomeSettings, CarvingSettings and FloatingChildSettings implement LinkedBiomes, so the biome tree and the biomes a
dimension reaches learn of the biomes they name without reading the classes. IrisBiome, IrisRegion and IrisDimension lose the
fields, the carving entry index and getRealCarvingBiome; IrisDimensionCarvingEntry is deleted. CaveApplying and DepositPlacer
no longer thread a resolver state through the cave biome lookup.
2026-10-10 08:51:28 +02:00
piexel f404dec7d7 Core stops reading loot, spawn and effect classes: services, resource closure for exports, key handler for entities 2026-10-10 08:46:33 +02:00
piexel 284213e9b8 AmbientEffects service: the effects due around a player, decided by the module; Reference.SPECIAL_ENTITY 2026-10-10 08:46:32 +02:00
piexel df88a4a050 Loot, block drops, entity spawners and effects become settings of iris:loot and iris:spawn; their classes become module types of IrisApi annotations 2026-10-10 08:46:32 +02:00
piexel f26d438ff0 Probe stub: nothing stands on air, as on every platform 2026-10-10 08:42:00 +02:00
piexel f7872685ce Core stops reading biome layers, slab, wall and the dimension's rock, fluid and post processing fields
IrisComplex, UpperDimensionContext and ChunkContext lose the rock and fluid streams, the engine loses the layer density, studio's style timings read the terrain module. Pins of layers and palettes now run through the module classes; tests for the settings of the new keys read real pack files.
2026-10-10 08:37:08 +02:00
piexel 23eaa15e86 Layers, slab, wall, sea and cave ceiling layers, rock and fluid palettes and the post processing switches become iris:terrain and iris:post settings
IrisBiomePaletteLayer is the PaletteLayer value, IrisBiomeLayerGenerator is BiomeLayers over ResolvedLayer, the dimension's rock and fluid streams are TerrainPalettes. The decorator slope and SlopeClip are one class. A biome's inferred variants keep its module settings.
2026-10-10 08:36:44 +02:00
piexel 6c0c072afe Surface for ported built-ins: VINE trait, canPlaceOn, the sampler's fluid height and upper dimension, the mantle's planned blocks, a chunk sampler that covers the neighbors, stage timings from the chunk runner 2026-10-10 08:35:10 +02:00
piexel f8d85dcd5e A settings class whose @Feature has no key fails the load naming the module, the class and the key to add 2026-10-10 08:35:10 +02:00
piexel bed3f5b9cc Generation probe runs again and exercises plants: stub keys are canonical, plants decorate soil, decorator hooks bound, kinds replace the removed loaders 2026-10-10 08:31:36 +02:00
piexel ee2818514f Entity resolution pin: an interval that always elapses, so the spawn effect is part of the pinned spec 2026-10-10 08:29:05 +02:00
piexel fac06c3beb Tests for the ore settings: resolved ores pinned against the deleted IrisOreGenerator, warm-up order, terrain ore order, decoding of the old keys 2026-10-10 08:27:45 +02:00
piexel 6617cc3957 Ores, hideOresForHiddenOre, deposit variants and the ore deposit multipliers are settings of iris:terrain and iris:deposit
OreSettings (ores), HideOresSettings (hideOresForHiddenOre), DepositVariantSettings (depositVariants),
OreFrequencySettings and OreSizeSettings are IrisApi-typed features under the keys packs always wrote.
ResolvedOre/ResolvedOres/TerrainOres keep the resolved blocks and the chance noise per world, warmed in
the same order and with the same seeds as before; ResolvedDepositVariant resolves the remaps. IrisBiome,
IrisRegion and IrisDimension lose the fields and their caches; IrisOreGenerator, IrisBiomeOres,
IrisOreGeneratorBounds and IrisDepositVariant are deleted. Inferred biome variants keep the module
settings of the biome they are copied from.
2026-10-10 08:27:45 +02:00
piexel 2c7b0cd1f7 Pin loot draws, loot reference resolution and entity resolution before the loot and spawn classes move 2026-10-10 08:20:59 +02:00
piexel 809184f787 Pin the blocks of biome layers, slabs, walls and the dimension's rock and fluid palettes before they move 2026-10-10 08:20:10 +02:00
piexel dcf5cc045a Delete RegistryListNativeJigsawPool: the jigsaw start pool completes through Reference.TEMPLATE_POOL 2026-10-10 08:05:00 +02:00
piexel 133fb377de Studio completes jigsaw start pools through Reference.TEMPLATE_POOL; purity allowlist tightened
SchemaBuilder renders TEMPLATE_POOL with the platform's template pools (enum-native-jigsaw-pool) and drops the
RegistryListNativeJigsawPool branches. SchemaBuilderParityTest checks a native structure's jigsaw startPool completes
them. WorldCreationProgressReporter no longer imports Bukkit, so it leaves the purity allowlist (184 entries).
2026-10-10 08:05:00 +02:00
piexel 6757cbdd0f Reference.TEMPLATE_POOL: JigsawOverrides.startPool names one of the platform's template pools
Studio completes the pool again from the platform's registered template pools, as the Iris class's native jigsaw
pool annotation did. A pack's own jigsaw pools are not valid here: the override replaces the start pool of a vanilla,
datapack or modded jigsaw structure.
2026-10-10 08:05:00 +02:00
piexel 7a0d269780 README: iris:structure provides VanillaStructures and owns the structure fit; place modes are data 2026-10-10 03:56:04 +02:00
piexel 6f52a20b25 Docs: VanillaStructures replaces the vanilla structure hook; the API carries no fit values
README shows a provider, every method and the memo; DESIGN records why the hook became a service, why shift and reach
replace the adjustment value, what a chunk's StructureFit gives and why memos replace a persisted fit; CONTRACTS
lists the new types and what the host must do for them.
2026-10-10 03:55:56 +02:00
piexel 248a087c17 Core and adapters stop reading ObjectPlaceMode; tests for the place mode data
The jigsaw export and the Bukkit and modded structure commands ask the module (stampsPiecesWhereAssembled,
stampingStructurePieces) instead of comparing place modes. ObjectPlaceModeDataTest checks the data reproduces what the
stages decided by comparing modes; the object place mode pin stays identical.
2026-10-10 03:54:40 +02:00
piexel 95817f6d17 Object place modes are data the placement stages ask
Each ObjectPlaceMode carries a PlaceMode: its height sampling, its stilt, its VacuumProfile (default radius, column
step, edge) and its traits (RAW_STAMP, FREE_HEIGHT, UPSIDE_DOWN, CAVE_ANCHORED). The stages, the structure placer,
the locator and the replacement validation ask the data instead of comparing modes; a floating island derives its
stilt-free mode from the data. The JSON names are unchanged.

Core and the adapters no longer read ObjectPlaceMode: the jigsaw export asks the structure whether it stamps its
pieces where assembled, and the structure commands take IrisObjectPlacement.stampingStructurePieces().
2026-10-10 03:54:40 +02:00
piexel 0b3556f09c Platform starts fit through a neutral bridge to iris:structure
Core asks the pack's VanillaStructures providers (ModuleVanillaStructures) for rules, starts, the shift of each
platform start and every module's reach, and runs the built-in fit through ModuleStructureFitting, which turns the
platform's chunk into the API's StructureFit. minecraft-common's NativeStructureFitBridge hands Bukkit and the modded
loaders' starts, processed template cells, template columns and legacy air to it; the platform helpers that held the
fit (surface fitter, terrain integrator, support and foundation builders, post processor) are gone. The host only
moves, clamps, wraps and places starts.

Ownership records keep their binary layout: the two texts that held the stilts and terrain JSON now hold the start's
memo, which the module writes in the same JSON, so records written before read the same. A recorded reference
envelope only grows when today's reaches are wider.

Tests: the fit's rules are tested in core against stated cells; the bridge and the fit end to end on the NMS harness;
the object place mode and native structure fit pins stay identical.
2026-10-10 03:50:45 +02:00
piexel 3d7b82c2cb Structure fit moves into iris:structure behind the VanillaStructures service
The module now owns every way a platform start meets the terrain: the surface fit (SOURCE beard, VACUUM and its
foundation repair), terrain integration (SOURCE bury and encapsulate, ENCASE, BORE, FORCE_CARVE with the organic
carve), rigid piece support, legacy template air and stilts, all written against StructureFit and BlockAccess in the
new structure/fit package. Where a start sits (shift, band, burial) and how far it reaches are module answers too.

The fit settings become the module's own: StructureTerrain, StructureTerrainMode, StructureCarveShape,
StructureStilts and StructureYBand replace the Iris classes and the API values, with the same JSON. A start carries
its fit as a memo (terrain JSON, stilts JSON) so every chunk it reaches fits it the same way. The jigsaw overrides of
a placement are the API's JigsawOverrides.
2026-10-10 03:50:39 +02:00
piexel 4755e24407 PlatformStart gives the dimension's bottom; the catalog lists every provider of a service with its module
A shift rule written in world heights (a band of world Y) needs the bottom to convert the start's bounds, and the host
asks each VanillaStructures provider in module order, naming the module when one fails. BlockAccess documents that a
structure fit's access answers only the traits the platform's world can answer natively.
2026-10-10 03:46:12 +02:00
piexel ee7bb11790 VanillaStructures service replaces the vanilla structure hook; fit values leave the API
The hook's rule, starts and setup move to a @Service(ALL) VanillaStructures with default methods. adjustment and the
fit value types (VanillaStructureAdjustment, VanillaStructureFit, StructureTerrain, StructureStilts, YBand) are gone:
modules keep their fit vocabulary as settings. New neutral questions: shift (vertical move of a platform start),
reach (how far around its pieces a module changes terrain for a start), beforePieces/afterPieces around the platform
placing a chunk's starts. StructureFit hands a module the chunk's starts (pieces, junctions, processed template cells,
template columns, legacy template air, platform terrain adaptation and step, the start's memo), the chunk's live
blocks as a BlockAccess, the surface heights and the platform's natural block. VanillaStructureStart carries a
StartMemo instead of a fit; the host keeps it with the start's ownership record.
2026-10-10 02:53:51 +02:00