Structure placement and jigsaw now live in the built-in modules jar, on top of the port's weighted picking, studio tooling
and procedural object work.
api/CONTRACTS.md keeps both sides' rows: the weighted entries and the studio bake and scene creation types from the port,
and VanillaStructureContext.world, Argument.reading, PlatformStructures, tool worlds and the services lookup from the
structure move.
PackModuleResourceKindTest installs the built-in modules jar into its castle pack, as the structure move requires, and
writes the dimension and region lists as weighted entries, as the port requires.
StructurePlacing takes the structure move's version. Its int sentinel for a sampled height is replaced by an explicit
sampledHeight flag that calls ObjectRun.automatic, and explicit pieces pass their world Y minus the world's minimum, so an
explicit world Y below zero stays a height (e3dd61c17).
StructureOutputPinTest.everyScenarioPlacesThePinnedStructures is re-baselined for the underground scenario's writes hash
only (9176f55f60410c117cdd9d5e to 1025f82c04539d4881a0e92b): pieces at world Y -1 are now placed there instead of on the
surface. The start count, the piece hash and every other scenario are unchanged.
A stale ~/.m2 artifact could shadow the composite VolmLib or published artifacts, and ItemsAdder only resolved through mavenLocal. mavenLocal() is now added only with -PuseMavenLocal=true or when the composite VolmLib is off, and ItemsAdder uses beer.devs:itemsadder-api 4.0.17 from maven.devs.beer.
Upstream: c83d6964f
iris:structure places and locates structures and owns the structure commands; iris:jigsaw owns the model, the
assembler, the importers, the studio and the jigsaw commands. Both load from the jar, and the studio now lives with
its tool world: it is created by the first jigsaw command and closes with the world. The host's structure host,
model module, assemblies seam and studio host are gone. A datapack's structures are imported through the new
DatapackStructureImport service.
The NMS adapter compiles against GenerationSessionException, which now carries the API's EngineFailure marker, so it needs the API on its compile path. moddedTest reads sources the NMS convert task rewrites and has to be ordered after it. The lifecycle contract test follows the generateNoise body into generateNoiseChunk.
NativeStructureWorldgenAccess keeps both sides: writes are still recorded for the stale deferred-record check, and they go through the POI reconciler when one is bound.
The loader jar and modded test tasks were always rerun because their input list was incomplete. They now list the api, agent, lombok and resolution files the nested builds read, hash sources by relative path, and pass the local VolmLib checkout through the environment so its absolute path is no longer an input. They still always run when VolmLib resolves from the published snapshot.
Upstream: 0bdacc6fe15826162b7986698c1
The modded-common tests only ran when a loader wrapper was built by hand, and the buildSrc tests never ran because Gradle only asks for the buildSrc jar. A root moddedTest task now runs the modded-common suite through the Fabric build and check depends on it; the buildSrc jar depends on the buildSrc tests.
Upstream: 7841efed5
Native structure placement skipped POI updates, leaving beds and job sites without records. Dirty sections are now marked while the structure is placed and reconciled on chunk load on the owning thread.
The NMS adapter test classpath gains the mockito-core version core already uses, for the new tests.
Upstream: a28614c04
Nothing in production selected the 2D noise kernels, and the vector one measured 0.07x scalar on 2-lane NEON. Remove them with their SimdSupport plumbing, their parity test and the jar check entry, and note in the simd-bench README that they are a candidate Iris does not ship.
Upstream: 45b9ff8e1
Add PlatformStructures, the capability the structure importers read the platform through: templates, registered
structures and structure sets, jigsaw structures, template pools with their connectors, and a closable capture area.
The Bukkit host implements it in the plugin and takes over all reflection, the structure manager and the NMS calls; the
importers keep only their model-building logic and report through the api sender. CommandContext.platformStructures()
reaches it, ToolPlayer.targetBlock() lets a command read what the player looks at.
CommandJigsaw, JigsawStudioBridge, IrisStructureHandler, the Director import and capture of CommandStructure and the
modded stubs that explained the Bukkit workflow are replaced by the neutral jigsaw command tree in
core/structure/tooling, mounted by StructureModelModule. Import and capture are now jigsaw sub-commands.
The graph editor, the vanilla exporter and StructureIndexService speak api types: IrisObject hands out its contents as
BlockState and BlockEntityData, exports go below ToolPack.outputFolder(), and the index writes through ToolPack.edit.
The move lint is at 0 for the B2 set.
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).
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.
Remove the misplaced modules/default tree and point joint compilation, ownership validation, purity scans, source lookup, archives and modded shared source inputs at ../IrisModule. Actual feature sources now live directly in that sibling project, whose old examples and symlink view were replaced.
Validation: all 388 source hashes are unchanged, module check and the 37-test source/pack/purity slice pass, source archives match, and the production Bukkit artifact verifies. IrisModule itself remains outside this Git repository.
Move existing feature implementations and pack models out of core into modules/default without changing packages or algorithms. Compile both source roots together while legacy engine dependencies remain. Add source ownership checks, preserve the Bukkit purity ceiling across both roots, and update source-based diagnostics and archives.
Validation: fresh compilation preserves all 1,995 runtime class hashes; module and Bukkit artifact checks pass. Targeted runs cover 955 tests, with 953 passing and two platform-fixture failures reproduced on the original commit.
- Remove automatic error reporting and server-identifying attachments.
- Remove Sentry dependencies, release tooling, settings, and test commands.
- Keep failures operator-visible through local stack traces and logging.