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.
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.
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).
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.
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.
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.
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().
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.
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.
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.
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.
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.
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.
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).
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.
@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.
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.