Tests import the settings and terrain types that moved to
art.arcane.iris.modules. A test world (ApiChunk) and the jar services
test hand a module from the built-ins jar its own copy of a settings
type, since the jar loads the types Iris no longer shares, as the pack's
decoder does for a real pack.
Finding 40. IrisPlacementTerrain answers minWorldY and the placed object
as a ResourceId, IrisObjectShape its object id, IrisPlacementSettings the
collision sets as object ids; rockAt and hasBedrock are gone, so the host
no longer reaches TerrainPalettes or BedrockSettings. Placement tests
whose mocked engine had no world get a bare running world
(BuiltInPack.runBareWorld), whose default rock is the stone the old
no-terrain fallback wrote; the pinned hashes are unchanged.
Finding 40, first step. IrisPackWorld answers seed(purpose) through
IrisWorldSeeds (iris:seed/* map to SeedManager's legacy seeds, any other
id to WorldRandom.purposeSeed) and running() with IrisRunningWorld (the
engine's layout over the whole world, chunk-stage settings, highest
block, cave floors, sky, platform loot tables, studio as debug), built
on first use. IrisObjectHost loses the layout and settings lookups the
API now answers and gains placedLoot; spawner cooldowns are offered as
SpawnCooldowns. Tests follow; generation output is unchanged (goldens,
pins and probes pass as they were).
Structure locating goes through StructureLocator. Ownership records hold
one memo text and no placement identity (schema 3; older records fail
closed). NativeStructureStartsTest drops the identity column of its golden;
the other columns are unchanged.
ModuleSettingsDecoder applies the decoding contract (DecodingContract: null
members are left out, unknown enum names are errors). NoiseStyle no longer
carries cacheSize, a cache knob only. PlacementRequest has no id. Dimension
settings reach LinkedBiomes as PackSettings.
Batch 6, findings 41 and 42.
- Bukkit items, attributes, ambient effects and entities read ResourceIds,
ContentKeys and the grouped ItemDrop and EntitySpec; Iris-only entity
knobs come from the IrisEntityExtras extension.
- Iris serves the host kinds EXPRESSIONS and IMAGE_MAPS; noise styles map
their ids back to the exact pack keys of the snapshot.
- Studio completes @Ref(kind = ...) of host kinds through Iris's loaders
and @IrisStructureRef with the structure-model keys.
- Markers, sapling species, upper dimensions and jigsaw start pools are ids.
- Modded attribute lookup strips the minecraft namespace before the legacy
generic prefixes, now that keys arrive namespaced.
- Loot and entity pins retaken: printed the old way, the new values still
hash to the old numbers (recorded in the tests).
IrisPackWorld, platform starts and structure fits answer minWorldY(); ToolWorld
answers 0 explicitly. IrisBlockRegistry answers find(key) and no longer maps the
removed traits. IrisGenerationContext hands out blocks(). Placement settings pass
declaredBy on to the world's settings. Test fixtures implement the methods that
lost their defaults.
settings.gradle includes ../IrisModule (art.arcane:iris-module); core depends on it with api, so the
adapters keep seeing module classes. Core no longer compiles the module's sources: gradle/default-module.gradle,
the ownership check and the module root of bukkitPurityRatchet are gone. The 111 module sources that need Iris
itself (layout model, objects and blocks, structure model and placer, object placers) move into core
unchanged.
:core:builtinModulesJar now takes IrisModule's checked iris-builtins.jar (capability art.arcane:iris-builtins),
checks it once more against the VolmLib classes the Bukkit jar leaves out, and writes it to
build/builtin-modules for the jar and shadowJar. The shadowJar leaves out the module artifact's copies of the
jar's classes, read from the jar itself. Tests copy that jar into packs (iris.builtinModulesJar) instead of
rebuilding it from builtin-modules.txt; the pack type purity gate scans both class roots.
EntityKeyHandler names iris:spawn's entity kind by id instead of SpawnResources.ENTITIES, which ships only in
the built-ins jar (verifyBukkitArtifact failed on it since batch 3).
- Depend on com.volmit:iris-api and com.volmit:iris-host; the probe
compiles against the api only.
- PackModuleSet catches ModuleLoadException.
- ObjectPlacerEdit implements set(x, y, z, state) without a PlacedBlock;
block entities sit in their own map.
- BlockStateHunk implements width(), height(), depth().
- IrisPackWorld offers IrisSeeds, LiveWorld, ObjectHost, FloatingHost,
StructureHost (and the engine to the structure built-ins) through
extension(); IrisPackSettings the facades a reach needs. withLog,
the Source interfaces and the of(...) casts are gone (HostExtensions).
- The invocation inputs offer IrisChunk / IrisMantleChunk, MatterMantle
and ObjectPlacement; IrisChunk.current(), IrisMantleChunk.current()
and IrisPlacement.runBound are gone. A chunk stage's MatterMantle is
its own chunk plus the loaded neighbours (OwnChunkMatter).
- IrisPackResources serves find(kind, id) / ids(kind) and maps ids
back to pack keys at the host's edge (keyOf); ModuleServices,
ContentServices, the settings decoder (a bare ResourceId is the
pack's id), ModuleSettings and CaveBiomeAnswers convert there.
- MantleCaverns, IrisModuleMantle and PlacementMantle answer isCarved.
- Starts get a StartKey per platform start (weakly held).
- Bukkit adapters read the Optional-valued items, entities and effects.
- Tests follow; the loot and entity pins are retaken after checking
that the old printing of the new values gives the old hashes.
- ChunkModuleSettings returns SettingsStacks and keeps them per pack
snapshot (SettingsStacks), so at() allocates nothing for a column
whose region and biome were seen before.
- declaredInChunk is answered from the chunk's distinct regions and
biomes, each asked for its settings once.
- A studio paste runs in a ToolWorld with the pack's resources and
settings and its own state, so world() always answers.
- Level replaces FeatureAttachment.Target across decoding, schema and
packaging; IrisTerrainSampler gives surfaceHeight.
- Tests: chunk scan parity and order, the stack cache, the tool world;
engine mocks now serve pack resources as real engines do.
Iris's own modules (biome, custom, structure model) and the test modules
move to IrisModule.setup, and built-ins are set up through
ModuleSetups.run. Iris now passes StageMetrics to the placement and
mantle runners as well as the chunk runner. The biome module no longer
times itself; iris:biome/write feeds the biome metric through
StageMetrics instead.
Nothing is released, so packs get no compatibility path: a pack that
still holds its own iris-builtins.jar fails to load naming both jars
(IrisApi), instead of being skipped with a warning. The missing
built-ins warning no longer suggests copying the jar into a pack, which
would now collide with the bundled one; it says to build the plugin.
A world's pack copy carried its own modules/iris-builtins.jar, which
went stale with every plugin update and, since a used pack that cannot
load stops startup, would stop the server. Now :core:builtinModulesJar
packages the jar from core's own compiled classes (moved here from
IrisModule's build, with IrisApi's ModuleJarCheck), and core's jar and
the Bukkit shadowJar carry it as iris-builtins.jar, leaving its classes
out of the plugin's own. IrisModuleHost unpacks it to a temporary
folder and bundles it (ModuleHost.bundlingJars), so every pack loads
it as if it were in its modules folder.
A pack's own copy is left out; Iris warns once with its path.
MissingBuiltInModules now only fires for an Iris build without the jar
(Iris's own tests), and says so.
The startup datapack compile used to fail on any pack whose modules or
dimensions could not load, so one broken pack nobody used stopped the
whole server. Now a pack that cannot load stops the compile only when a
world uses it: a pack copied into a world's folder belongs to that
world, and an installed pack is used by every configured world that
selects one of its dimensions and has no copy of its own (PackUse). The
message names the pack, why it cannot load, and the worlds using it.
A pack no world uses is left out with a warning, and the server starts.
The pinned registry requirements leave out the same packs, so the
plugin no longer reports "Unable to pin loaded Iris datapack registry
requirements" for them. The dimension type folder is always created,
so a datapack built only from left-out packs still reads as complete.
The golden test stubs palettes with a hash, so nothing pinned the real picks. A bloomspire tree with a diamond/gold
trunk palette now bakes through IrisPackResources' real block registry. A probe of a pack whose only land biome grows
that tree gave the same signature on this build and on the build before the tree port (Iris 48e328bae,
IrisModule 0d557da), and this digest was taken after.
ModuleResourceFiles.read reports the file as before and then throws an IllegalStateException carrying the decoder's
message, so validators can say what is wrong instead of pointing at the log.
Iris's worlds serve a StructureHost backed by the engine's StructurePlacing.
The new host module iris:structure-model registers the structure resource
kinds, the structure validator, the locator and the vanilla structure answers;
iris:structure loads from the built-ins jar, so no generation module is
compiled into Iris any more. The schema builder and the export closure read
Reference.PACK_STRUCTURE. Test fixtures serve the model module next to the
structure module, and the purity allowlist drops DecoratorCore, which no
longer touches Bukkit.
IrisPackWorld and IrisPackSettings serve a FloatingHost; iris:floating loads
from the built-ins jar and is no longer compiled in. ChunkContext loses the
shared island boundary sampler. The floating tests move to the API types, the
jar tests load the jar without stand-ins, ApiChunk's world serves empty
floating and object hosts, and UndersideTurnTest pins the underside turn
against IrisObjectRotation.xFlip180WithY.
IrisObjectBuilder builds a module's procedural variants as Iris objects (and logs the golden-debug digest
for every kind), ProceduralOptions reads a ProceduralPlacement as an IrisObjectPlacement, and IrisObjectHost
caches resolved placements per world. The golden test pins the same digests through the new API.
ModuleResourceClosure.exportingElsewhere(type) names the resources of a kind another exporter writes:
IrisPackageCompiler and the modded studio export take the placed structure keys from it, and StructurePackageClosure
still copies structures with their pools, pieces and loot. SchemaBuilder loses the RegistryListStructure branches and
StructureSchemaKeys. Tests build placements as packs write them (StructurePlacementFixtures); a decoding test pins
the overworld's ancient city placement and an anonymous cave placement to the identities and starts the old classes
gave.
IrisPlacement implements ObjectPlacement over the placement's object, IrisObjectPlacement, placer and states
(IrisObjectShape, IrisPlacementSettings, IrisPlacementTerrain). The placement modules leave IrisModuleHost and join
JAR_MODULE_IDS and BuiltInPack.jarModules(); the new host module iris:placement-settings describes the classes
IrisObjectPlacement holds, which a jar module may not. Tests ported; IrisPlacementTest and ObjectSpinKernelTest added.
ModuleServices gains placedStructures, placesStructure, startedStructures, startsStructure, canLocateStart and
locateStart (a SEARCH_LIMIT_REACHED outcome instead of an exception); StructureHandler, the Bukkit and modded locate
commands and suggestions, the native structure stages, NMS IrisChunkGenerator and NativeStructureLocatePersistence
use them instead of IrisStructureLocator. StructureReachability keeps its keys per world; the hotloader no longer
invalidates locator caches. StructureCaveAnchorResolverTest binds a platform itself (it relied on test order).