Commit Graph
5317 Commits
Author SHA1 Message Date
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
piexel 6a1d2564e2 Pin the blocks of every object place mode and of the native structure fit before they move
ObjectPlaceModePinTest hashes the writes of each of the 20 object place modes on a fixed uneven terrain with a cave roof.
NativeStructureFitPinTest hashes the blocks one chunk's native structure fit leaves for ENCASE, SOURCE bury, encapsulate
and beard, VACUUM with its foundation repair, BORE and FORCE_CARVE, and stilts, with fits restored from the records
ownership persists. NativeStructureLayoutPinTest pins the vertical placement of platform starts per adjustment and the
reference envelope per terrain fit.
2026-10-10 00:42:35 +02:00
piexel 75cd4979a7 Tests for declared settings keys: real pre-port pack files, key clashes, one shape
Decodes files of the overworld pack as written before the port (biome with
decorators and deposits, region, dimension with importedStructures and deposits),
refuses the feature id and the wrong shape, and checks that built-in keys clash with
neither each other nor Iris's fields.
2026-10-09 23:27:24 +02:00
piexel b642b7f04e Read module settings under the key their feature declares
The decoder reads a setting under its declared key, as the object of its options or,
for a feature with a root option, as exactly that option's value; a wrong shape fails
naming the key and the resource. The studio schema renders the root option's schema as
the key's one shape. Iris passes its own JSON fields per target to the module host so
no key can take one, and the pack validators and messages name the keys packs write
(decorators, importedStructures).
2026-10-09 23:27:24 +02:00
piexel 13aa3ccc68 Built-in settings declare their JSON keys: deposits, decorators, importedStructures
DepositSettings and DecorantSettings hold their one option's list as the value of
the key (root), StructureSettings is the object under importedStructures. The
feature ids stay the modules' identity. README names the keys.
2026-10-09 23:27:19 +02:00
piexel b82c292dcb Settings features declare a short JSON key and may declare a root option
@Feature(key) is required: a plain field name, unique per target across all
modules and the host's own JSON fields (ModuleHost.reservingFields, back for
keys). A clash refuses the pack load naming the key, the target and both
claimants. @Feature(root) declares that the JSON under the key is one option's
value, so a settings class has exactly one shape; FeatureSchema carries it.
2026-10-09 23:16:52 +02:00
piexel 081f793696 Raise the Bukkit artifact cap to 7.5 MB for the IrisApi types the port adds 2026-10-09 22:59:34 +02:00
piexel 45d967b76f Merge branch 'wave2/c' into feat/irisapi-host
# Conflicts:
#	core/src/test/java/art/arcane/iris/engine/decorator/IrisShoreLineDecoratorTest.java
2026-10-09 22:47:33 +02:00
piexel 4203c07c29 Merge branch 'wave2/c'
# Conflicts:
#	README.md
#	src/main/java/art/arcane/iris/engine/mantle/components/ObjectModule.java
#	src/main/java/art/arcane/iris/engine/object/decoration/IrisDecorator.java
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiome.java
2026-10-09 22:47:28 +02:00
piexel 519129c42b Tests for iris:decorant decoding, the decorator schema, per-world decorators and the ore and object warm-ups 2026-10-09 22:46:24 +02:00
piexel 8cf11774da ResolvedDecorator exposes its seed; README describes iris:decorant 2026-10-09 22:46:24 +02:00
piexel 9e69f0666d Merge branch 'wave2/e2' into feat/irisapi-host
# Conflicts:
#	core/src/test/java/art/arcane/iris/core/project/SchemaBuilderParityTest.java
2026-10-09 22:33:49 +02:00
piexel cd7584b2ab Merge branch 'wave2/e2'
# Conflicts:
#	src/main/java/art/arcane/iris/engine/framework/IrisStructureLocator.java
#	src/main/java/art/arcane/iris/engine/mantle/components/ObjectModule.java
#	src/main/java/art/arcane/iris/engine/object/placement/BlocksModule.java
#	src/main/java/art/arcane/iris/engine/object/placement/IrisObjectPlacement.java
#	src/main/java/art/arcane/iris/engine/object/world/dimension/IrisDimension.java
2026-10-09 22:33:42 +02:00
piexel 0b303eb937 Merge branch 'wave2/d' into feat/irisapi-host 2026-10-09 22:33:42 +02:00
piexel 83e59706be Merge branch 'wave2/e1' into feat/irisapi-host 2026-10-09 22:33:42 +02:00
piexel 1707bb95f6 Merge branch 'wave2/e2' 2026-10-09 22:33:28 +02:00
piexel 877564f545 Merge branch 'wave2/d' 2026-10-09 22:33:28 +02:00
piexel de35bbedb6 Merge branch 'wave2/d' 2026-10-09 22:33:28 +02:00
piexel 41a2d5802e Merge branch 'wave2/e1' 2026-10-09 22:33:28 +02:00
piexel 140df97040 Merge branch 'wave2/e1' 2026-10-09 22:33:28 +02:00
piexel 54b22c942d README: module-owned settings held by Iris's classes 2026-10-09 22:32:16 +02:00
piexel 5ec3fb78d3 Procedural settings tests on the overworld pack's JSON 2026-10-09 22:31:08 +02:00
piexel 1f3e1c9aba Procedural object settings as module-owned IrisApi types: coral, crystal, formation, fungus, ruin and the tree profile classes; ResolvedProceduralPlacement bakes and places them 2026-10-09 22:31:08 +02:00
piexel 7ae605a4e4 Purity ratchet: the Bukkit code that moved out of the loot and entity classes is allowlisted, the classes that lost it are not
Custom item durability asks the external data service.
2026-10-09 22:26:05 +02:00
piexel 4735477918 README: iris:loot, iris:spawn and the new services of iris:objects; tree species by name 2026-10-09 22:26:05 +02:00
piexel 3633c105b4 Document the loot, drop, entity and sapling services and the item and entity values 2026-10-09 22:26:05 +02:00
piexel e120991ad3 Iris has no loaders for loot tables, spawners, entities and markers any more
Callers read them through LootResources and SpawnResources; the pack's loot check moved to iris:loot. RegistryMatter
asks its subclass how to load a key, the entity command handler lists entities through the module kind.
2026-10-09 22:24:20 +02:00
piexel 8428da4f50 Loot tables, spawners, entities and markers are resource kinds of iris:loot and iris:spawn
LootResources and SpawnResources keep the folders and lookups by key; LootValidator is the loot check that was Iris's
PackLootValidator.
2026-10-09 22:24:20 +02:00
piexel 42ba2dcfaf Floating child tests on the overworld pack's JSON; samplers take resolved children 2026-10-09 22:19:44 +02:00
piexel feaa1e88c4 Floating settings as module-owned IrisApi types: FloatingChildBiome and its enums; ResolvedFloatingChild holds the noise and object resolution 2026-10-09 22:19:44 +02:00
piexel 93f1768174 Add the EntitySpawns service and EntitySpec 2026-10-09 22:16:35 +02:00