Commit Graph
4865 Commits
Author SHA1 Message Date
piexel 0c2aefef20 BiomeModule and CustomModule own their stage constants
Core modules no longer take their stage ids from the built-ins jar's
IrisStages.
2026-11-06 06:30:50 +01:00
piexel b961a5d3b2 Follow the API's renamed highest, get and withPropertyIfAccepted 2026-11-06 06:18:37 +01:00
piexel f98d78a87b Splice studio edits in core instead of the API
JsonSplicer holds the text edits JsonText used to carry; GraphEdit works on
it with typed path steps. The bridge maps the API's Optionals to the wire the
studio already reads (-1 for no part or block, a blank group), so the studio
is unchanged.
2026-11-06 06:09:16 +01:00
piexel c0ac9d7f4e Follow the API's removed object transformer and placement blocks
IrisObjectTransformer and TerrainBlockView served only
PlacementContext.objects() and blocks(), now gone from the API. The
settings decoder no longer reads object generator keys, and the schema
drops the platform biome reference. The entity pin moves because
EntitySpec no longer prints its empty extensions list (verified: the new
print with ", extensions=[]" put back in its three places is the old one).
2026-11-06 05:55:51 +01:00
piexel eb2ac206b1 Choose the studio editor: VSCode, Zed or none
Port v3e's studio.editor setting. StudioEditorLauncher opens packs and pack
files in the chosen editor: VSCode through the desktop, Zed as its own
process on the pack folder. ZedProjectSettings keeps the pack's
.zed/settings.json schema mappings in step with the code workspace.
studio.editor replaces studio.openVSCode, with no legacy bridge.

`iris studio editor` (aliases vscode, vsc), `iris edit`, the modded edit
and workspace commands and the studio app's "Open biome file" all go
through the launcher. The bridge now says which editor opened the file,
or why none could.
2026-11-06 05:31:17 +01:00
piexel 9c39c564be Remove the Swing vision map and noise explorer
The studio app's map and noise views replace them. Gone: VisionGUI,
NoiseExplorerGUI, their render controllers, viewports and palette, their
tests, the iris studio noise command on Bukkit and modded, and the 73
message keys only they used, from the Java constants and every catalog.
The overlays the studio bridge uses for player markers and teleports stay.
2026-11-06 05:15:02 +01:00
piexel db2962a25e Edit procedural objects from the studio bridge
New routes scene-file, scene-edit and scene-write read an editable
entry's file as nodes with the schema types its forms need, apply graph
edits (set, unset, append, add item, delete, duplicate, move) keeping the
file's formatting, and write whole texts back for undo. An edit made on
an older revision is refused with 409. Edits are refused with 403
outside a studio world, which alone hotloads its pack. Files are
written beside themselves and moved over, so the pack watcher never
reads one half written.
2026-11-06 05:06:25 +01:00
piexel 7eff4d0754 Serve module pattern views over the studio bridge
ModuleViews finds a pack's studio views of one kind; StudioScenes and the
new StudioPatterns sit on it. The bridge lists pattern views, their
entries, and lays out one tile of an entry at a depth (PatternEncoding:
JSON header with the block keys, then an i16 pick per column).
2026-11-06 02:39:45 +01:00
piexel 5dd753c589 Studio bridge: noise sources and noise tiles
The noise view's catalogue (overlay noise, pack generators and expressions,
every noise style, in v3e's categories) and float tiles of any source at a
seed and scale.
2026-11-06 02:15:24 +01:00
piexel 7d06fb50c3 Studio bridge: read saved worlds from their region files
The bridge lists the dimension folders under the level folder that hold
region files, finds where a saved world's view opens (the middle of the
region nearest the origin, with its sea level) and serves square tiles
of saved columns: the ground under trees, plants and water, the water
surface over it, and its block and biome. Biomes the open pack saves
under its own keys get the pack's map colours.

Chunks are read with VolmLib's NBT reader in the 1.18 and later layout,
lazily, a chunk at a time; a region whose file changed is read again.
Snow and other thin blocks count as ground only where they lie on
ground, so snowy treetops are looked past.
2026-11-06 01:58:21 +01:00
piexel c753a1a7fe Studio bridge: scene views and Minecraft assets
The bridge lists the scene views the pack's modules registered, their
entries, and encodes a scene as a palette of block states and their
positions from the anchor. Assets come from the Minecraft client jar of
the server's version, fetched from Mojang the first time the studio asks,
checked against Mojang's SHA-1 and cached; until then the route answers
503 with Retry-After.
2026-11-06 01:18:52 +01:00
piexel 13c0705d44 Studio map: inspect noise picks and preview one region
The picks route measures, for the area in view, how each region or biome
noise spreads over the bands that pick its options, against how much
ground each option gets. Tiles can carry the noise that settled each
spot's pick, and the regions view can preview one region across the
whole map with the surface biomes it would place there.

Preview tiles take their heights from the shading lattice, so they draw
as fast as biome tiles. Only coastline pixels can then disagree with the
hover's exact biome: 0.25% of spots at 1-2 blocks/px, 2.3% at 8.

The bridge serialises nulls so the studio can tell "none" from "not sent".
2026-11-06 01:10:17 +01:00
piexel 467d42abea Studio map: explain how each spot got its region and biome
The hover now carries the pick path: the region pick, the biome list
pick and every child level, each with its noise value and the share of
the noise every option owns. IrisComplex exposes the pick noise, the
pickable biomes and the child slots it already used, so the explanation
reads the same inputs the generator does; generation is unchanged
(probe signatures match before and after). Hover takes the view, since
the path depends on it.
2026-11-06 00:40:27 +01:00
piexel 4de21dace7 Studio bridge: smaller tiles, quiet hang-ups, files removed on stop
- 128-pixel tiles by default and scales up to 4096 blocks per pixel, so
  the studio fills the screen in smaller steps and can zoom out further
- A client that drops a tile it no longer needs closes the exchange
  instead of logging a broken-pipe stack trace
- The bridge keeps its port after closing, and Paper's server-stop
  quiesce closes the bridges, so their connection files are removed
  even when the deferred service teardown never runs
2026-11-06 00:22:15 +01:00
piexel a375d3b2f0 Serve the studio map over a local bridge
/iris studio map now starts a bridge for the world instead of the Swing
map: HTTP on 127.0.0.1, a free port and a per-bridge token, with the
world, tiles, hover, entities, teleport and open-in-editor, and server-sent
events for players and hotloads. A connection file under
~/.iris/studio/bridges lets a studio app on the same machine find it.
Works on headless servers. Bridges close with the plugin or mod.
2026-11-05 23:26:38 +01:00
piexel 60ba7e644c Add the studio map's core views: tiles, labels and hover
The 2D views of the coming studio app (biomes, regions, height, land, sea
and cave biomes) as core code. A tile says what each pixel shows (its biome
and region, and heights for shading) with a ring of neighbour pixels, so the
app styles it without asking again; the hover describes one column.
2026-11-05 23:13:22 +01:00
piexel 8be0597a36 Place v3e's parts-based procedural objects like any object
Procedural objects are now definitions of parts in the pack's procedural/ folder (module resource
kind iris:objects/procedural) that bake into variants; an object placement names them as
procedural/<path>, or procedural/<path>#<index> for one variant. The v4-era proceduralObjects
settings and their tests are gone.

- TreeDefinitionIndex knows trees/ and the ids modules report as trees; ModuleServices merges
  only those.
- Golden test: the 72 definitions of the overworld pack (fixture procedural-parts) bake as when
  the digests were taken, on a game-like block platform (GameLikeBlocks).
- Fixtures pack-before-the-port, pack-terrain and pack-before-loot-and-spawn converted: their
  proceduralObjects became object placements, sets became placement snippets.
- Tests follow: tree index, warm-up, placement reach, surface support.
2026-11-05 23:00:13 +01:00
piexel d0ca502a56 Read @JsonForms values through their codec; keep a state whose block rejects a value
JsonFormsCodecs reads and writes IrisApi @JsonForms classes as the plain values Gson reads into an
Object, for the module settings decoder (and so every module resource file) and for tests'
TestSettings. IrisBlockRegistry.withProperty returns the state unchanged when the platform does
not accept the value, as IrisApi now defines it.
2026-11-05 23:00:13 +01:00
piexel 8ca183d0c2 Save custom blocks in the mantle under their custom id
A custom state's key is its base block, so a provider block (Nexo,
ItemsAdder) held in a mantle section that was written to disk before
its chunk generated read back as the vanilla base block. The mantle now
saves it under its custom id, which reads back through its provider.
2026-11-05 21:44:32 +01:00
piexel d5e75114ab Let the server decide where decorators fit
Ported from v3e (af333cc93). Whether a plant stands on a ground block is
now the server's own canSurvive rule, asked in a two-block level, so
custom ground (CraftEngine and others) grows plants too. Plants that
fail on every ground, like wall and ceiling blocks, keep fitting as
before. Dead bushes stay off grass, as packs expect. Without the NMS
binding Iris's own table answers.

Test server, world v3eports (seed 1337, radius 500): 4,225 chunks,
0 failed, no errors; plants 70,161 vs 68,905 in iriswave6 over the same
961 sampled chunks, every plant type present.
2026-11-05 21:38:27 +01:00
piexel 6429b6ea5e Generate CraftEngine blocks in place, keep their leaves and tags
Ported from v3e (31615dc05, ee7f54429, 92b02db15, 3ba277aa4).
CraftEngine blocks now resolve to their own block data and generate with
the chunk, warning once about properties the block does not have, so
only furniture is placed after generation. A deferred block with a state
finds its provider by its id alone. Where leaf decay is prevented,
CraftEngine leaves are made persistent too, and logs and leaves include
CraftEngine blocks with those tags, for IrisModule 501862b.
2026-11-05 21:28:16 +01:00
piexel 6522174c83 Keep child biomes when a biome is focused; goto honours focus region
Ported from v3e (af1fe9808, 05eed1f6a, eb1a24411). A focused biome now
implodes into its children instead of painting the parent everywhere,
and region goto checks what the engine actually generates, so a focused
region is reachable and the others are not. Locating already covered
child biomes and focus.
2026-11-05 21:15:00 +01:00
piexel eb7a6e1044 Give pack expressions clamp, linearstep, smoothstep and ridge
Ported from v3e (f1d7f92f5).
2026-11-05 21:15:00 +01:00
piexel a1d043b3c0 Test object separation, retake procedural digests
Tests for IrisModule d65da98: separated objects keep their distance over
24x24 chunks and come out the same in any chunk order. The procedural
golden digests serialize the effective placement, which now writes
"separation":0; with that text stripped the old digests still match, so
the bakes are unchanged.
2026-11-05 21:15:00 +01:00
piexel 3b9012535f Roll seeded noise styles from the world seed, read them flat
IrisGeneratorStyle gets the seed field the IrisApi style has. A seeded
style is built from splitMix(worldSeed ^ splitMix(seed)) instead of the
caller's random, so every style with the same seed and shape shares one
noise per world. Material palettes and child biomes read a seeded style
in plain blocks (no palette zoom, no childShrinkFactor).

Tests: the factory ignores the asked seed and follows the world seed;
the decorator chance gate and palette layers read seeded styles flat
(module code, tested here as the other module tests are).

Ported from v3e a1bd24186 and 1be1795e6. IrisApi 2914ed1.
2026-11-05 21:02:12 +01:00
piexel ee5f3d90eb Stop fractured noise from mirroring across x = z
Each axis read the fracture at swapped coordinates, so the warp of z at
(a, b) was the warp of x at (b, a) and fractured styles were mirror
images of themselves across the diagonal. Each axis now samples its own
far, uncorrelated part of the fracture noise, on every path (generic,
fast 2D/3D, signed 2D/3D). The 3D fast paths also read the second axis
in 3D instead of 2D. Same number of samples as before.

Ported from v3e 855ab90be. Its second half (axialFracturing for built-in
fractures) does not apply: V5 has no shared-value fracture mode.

Fractured terrain changes. Retaken: TerrainLayersPinTest and the three
fractured values of IrisMathNoiseHotPathParityTest. CNGFractureMirrorTest
fails on the old code (780 of 780 samples mirrored).
2026-11-05 20:55:54 +01:00
piexel bcc5a1abb9 Move English message text into messages/en_US.json
Message classes now declare only ids; the English text, line lists and
plural forms load from one bundled JSON resource, which IrisMessages
turns into the catalog. A constant whose id is missing or has the wrong
shape fails at class load.

EnglishMessageCatalogTest guards that every English id has exactly one
constant. A round-trip dump of the new catalog is byte-identical to the
generated resource.

Java: -4711 lines; net -3185 including the JSON.
2026-11-05 19:17:30 +01:00
piexel 5e2eaba07e Follow the loot source id and the explicit jigsaw overrides
Debug lore names the table by its path. The native structure start plan keeps
SOURCE for an option the pack left out, as before.
2026-10-28 04:16:10 +01:00
piexel b48192d355 Take in the vocabulary only Iris core uses from IrisModule
37 types that IrisModule held for Iris core alone live in core now, in the same
packages, so no import changes.
2026-10-28 04:09:40 +01:00
piexel 40436352bf Let the object model stand on the api: turn, scale, paste, records
Core turns objects with ObjectTurn and BlockTurn and scales with ScaleMethod, so
the object model no longer reads the modules' ObjectRotation and
ScaleInterpolation; /iris object paste writes the turned blocks with
IrisObject.paste instead of running a placement. IrisObject takes no
ObjectPlacement; the structure placers call ModuleObjectPlacement directly.
IrisPlacements reads the run's name and JSON, the placement type comes from the
module, placements are stored as PlacementMarkers texts and read back as
PlacementRecords, the marker ids are Iris's own, the loot shuffle seed and the
protected floor come from the modules, entity knobs are EntitySpec fields, and
entity key completion is one handler by kind id. The entity pin is retaken with
the old print proven to hash to the old number.
2026-10-28 04:05:02 +01:00
piexel 3022c54a43 Cut dead and duplicate tooling found by the tooling audit
Map modes OBJECT_LOAD, DECORATOR_LOAD and LAYER_LOAD with BiomeMaxes and the
runtime and hotloader code that fed them; the placement scans in
Engine.getObjectPlacement and the PlacedObject.placement field nobody read;
Engine.hasObjectPlacement (find uses ModuleServices.objectPlacers); the object
section of /iris studio objects and the layer lines of /iris studio profile;
the package obfuscation, which wrote object names the exported JSON never used;
the modded packager and its command; the removed-field nags for fluidBodies,
surfaceOpeningClearance and caveProfile water fields; the IrisMod resource
family and the Gson reader only it needed; the test-only ObjectPlacements
helpers; WorldObjectPlacer; Interpolated.CAVE_RESULTS; DeserializationProbe.
2026-10-28 03:29:56 +01:00
piexel 3e8c22422f Put IrisApi on the modded adapters' classpath
The fabric, forge and neoforge builds resolved neither core's dependencies on
IrisApi nor the IrisApi types the adapters read (ResourceId, BlockTurn), so
none of them compiled. They apply the IrisApi source resolution like the root
build and compile against iris-api. NativeStructureReferenceRepairTest drops
the placement identity argument that NativeStructureStartPlan lost in batch 6.
2026-10-28 03:29:45 +01:00
piexel fe730fc8bd Drop ObjectPlacements.treeGrowth and IrisMod.blockReplacers
treeGrowth had no caller outside its own test; the jar's TreeGrowing
reads the settings itself. IrisMod.blockReplacers was never read and no
pack sets it.
2026-10-28 02:26:07 +01:00
piexel 9e4ac30423 Follow the module snippet folders and the moved types
Pack validators read decorators from snippet/iris/decorant/decorator and
cave profiles from snippet/iris/carve/cave-profile. Fixture packs and
the procedural golden set move their snippet files to the new folders;
digests are unchanged. Tests import the moved types from
art.arcane.iris.modules.

EntityKeyHandler names the entity kind by id instead of importing
EntityDefinition (IrisPackResources gains ids(kindId)).

ObjectPlacementRegressionTest compares the namespaced void-air key, as
its other assertions do; it failed when an earlier test had initialized
IrisObject.States under a platform with bare keys.
2026-10-28 02:22:22 +01:00
piexel 7471f9fc42 Batch 7 stage 4a: host biome height, sky biome and platform biome writes
IrisTerrainSampler answers biomeHeight and skyBiome the way IrisFloatingHost
did; IrisModuleMantle stores setPlatformBiome as the custom biome inject the
biome pass reads. IrisFloatingHost is deleted. A new test pins that sky and
custom biome picks ignore the random when an engine is given, which is why
the api takes none.
2026-10-28 01:58:50 +01:00
piexel c0ed5ed81e Batch 7 stage 3: host the api object model and placement service
IrisPlacements runs the pack's placement graph for PlacementRun over a
PlacerTerrain (an IObjectPlacer seen as an api PlacementTerrain) through
TerrainEdit; ModuleObjectPlacement uses it for Iris's own placements. Iris
offers IrisPackObjects, IrisLegacyStreams and the api block operations
(rotate, merge, withProperty, matches), and IrisObject is an api
PlaceableObject. IrisObjectHost, IrisObjectChunk, IrisObjectBuilder, the
placement facades, the placers they used (heightmap, sink, decay, island,
golden debug, cave and floating transactions) and IrisDimension.debugSmartBore
are gone. Tests follow; EdgeSimplexPinTest pins the module's simplex copy.
2026-10-28 01:25:49 +01:00
piexel e47acc847d Place with iris:objects placement settings
IrisObjectPlacement, IrisObjectTranslate and IPostBlockAccess are gone;
Iris places with the module's ObjectPlacement. IrisPlacementForm keeps
what Iris makes of a placement (its module settings decoded from the
placement's JSON, its noise as Iris generators, the surface warp cache)
on the placement's host slot. The placement reader decodes through the
module decoder. IrisObjectRotation becomes BlockStateRotation (state
turning only) and IrisObjectScale becomes ScaledObjects. Studio adds
placement-level module settings to the module's ObjectPlacement schema.

The procedural golden digests change only because the hashed options
JSON no longer carries the Iris-only warp cacheSize; a probe on the
previous commit and this one gave identical block digests and identical
option values otherwise.
2026-10-27 01:43:56 +01:00
piexel 74b129e105 Batch 7 stage 1: jigsaw definitions from the module build
The jigsaw definitions, StructureResources and IrisDirection now come from IrisModule. Iris
registers iris:structure (StructureModule) with its own modules; iris:structure-model keeps the
validator and the locator and vanilla structure services. StructureResources lookups take the
pack's PackResources, so callers pass data.getPackResources(); the Bukkit plugin compiles against
the API for that. IrisRegistrant extends the module's KeyedResource, which holds the load key.
A structure's loot placement is StructurePlacing.lootPlacement. Studio maps an API object
reference (GeneratedObject) to Iris's object loader.
2026-10-27 00:59:48 +01:00
piexel c9e36761e4 Batch 6 part 4c: tests follow the jar's own types
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.
2026-10-24 10:48:58 +02:00
piexel 2e99491429 Batch 6 part 4b: placement facades in API vocabulary
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.
2026-10-24 10:24:29 +02:00
piexel df10a90117 Batch 6 part 4a: purpose seeds and the running world for the built-ins
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).
2026-10-24 10:09:25 +02:00
piexel 711fdd078a Batch 6 part 3: host side of structure locating and the decoding contract
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.
2026-10-24 09:24:18 +02:00
piexel dc0d61ce63 Apply IrisApi's typed keys, grouped values and @Ref(kind)
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).
2026-10-24 06:06:59 +02:00
piexel ca07b8ce0b Batch 6 part 1: host the renamed api: minWorldY, find, blocks(), geometry
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.
2026-10-24 05:19:11 +02:00
piexel b0a8904b31 Batch 5 of the API review: depend on IrisModule as a build of its own
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).
2026-10-24 04:46:50 +02:00
piexel 64658013fe Host the batch 4 IrisApi: api and host artifacts, ModuleLoadException
- 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().
2026-10-24 04:19:42 +02:00
piexel 4bacc306e9 Batch 3 of the API review: Iris offers its facades as extensions
- 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.
2026-10-24 00:17:24 +02:00
piexel 7fc4445ab7 Host the batch 2 IrisApi: settings stacks, tool world, chunk scan
- 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.
2026-10-23 14:17:26 +02:00
piexel 466d5149db Host the batch 1 IrisApi: module setup and timings on every runner
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.
2026-10-23 13:00:21 +02:00
piexel bc7f9127b5 Drop the legacy handling of a pack's own iris-builtins.jar
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.
2026-10-22 09:59:51 +02:00