Commit Graph
4773 Commits
Author SHA1 Message Date
piexel 7d9fd3faa6 Core asks for native structure starts and locates through the structure services
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).
2026-10-12 02:06:14 +02:00
piexel 0cfcada4f2 Native placed features are decided by the pack's VanillaFeatures providers, kept per world
NativeFeatureGenerationPolicy asks VanillaFeatureAnswers (new, core/modules, per world in the state store): the pass runs
when any provider turns it on; a step or feature any provider refuses is skipped; each asked once per world.
ModuleServices.vanillaFeatures. The Bukkit NMS and modded imported-feature stages decide their steps once per table
(platform step index) and ask per feature through the policy; the table no longer holds the dimension's control.
resolve/generationStatusMessage and their status enum had no caller outside tests and are gone.
IrisModuleHost.JAR_MODULE_IDS and BuiltInPack.jarModules() list iris:vanilla-features.
Tests: NativeFeatureGenerationPolicyTest (through the built-in module and pack modules, asked once per world, step
order), ImportedFeaturesTest (was IrisImportedFeatureControlTest), VanillaFeaturesSettingsDecodingTest,
SchemaBuilderParityTest +1 (was ImportedFeatureControlSchemaTest).
2026-10-10 18:16:20 +02:00
piexel 520cae4a6b Mechanical: IrisApi's StructureStep is DecorationStep 2026-10-10 18:04:44 +02:00
piexel 48e328baef The VolmLib classes the Bukkit jar leaves out move to one file that IrisModule's jar check reads too 2026-10-10 15:19:53 +02:00
piexel 05fb6a170a Mechanical: Vector3i, IrisVector, IrisBlockVector, VectorMap, AtomicCache and Cache's key helpers come from VolmLib (Iris's copies deleted) 2026-10-10 15:18:05 +02:00
piexel 9d886e3c69 Iris binds AtomicCache's failure handler to its logging and error reporting at startup 2026-10-10 15:18:05 +02:00
piexel 80d50b5cff Merge branch 'wave3b/p' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/ModuleServices.java
2026-10-10 15:07:41 +02:00
piexel d741bb5119 Merge branch 'wave3b/g' into feat/irisapi-host 2026-10-10 15:07:18 +02:00
piexel 8c253ad6dc PlatformBlockStates remembers the state it read last: chunk scans read long runs of one state 2026-10-10 14:46:22 +02:00
piexel 0d9278c0ac IrisTerrainSampler answers surfaceY from the height stream alone, without the slope a column works out 2026-10-10 14:46:22 +02:00
piexel 339efd6174 Cave biomes ask the world's CaveBiomes provider through CaveBiomeAnswers, kept per world: the provider is found once, each biome's minimum depth asked once and each overriding biome loaded once (it was a catalog scan twice per cave block) 2026-10-10 14:46:22 +02:00
piexel b6a216462d A loaded pack's modules are handed out without taking the module set's lock: every cave biome asks for them, from every generating thread 2026-10-10 14:46:22 +02:00
piexel ee2a0425e2 A pack that loads none of the built-in modules is told once, with the jar to copy and where 2026-10-10 14:25:56 +02:00
piexel 9147acca0c iris:biome and iris:custom are Iris's own modules in core, registered by IrisModuleHost ahead of the feature modules; same stage ids and order 2026-10-10 14:25:56 +02:00
piexel 95283099fe Host side of ModuleLog: Iris's log carries each module's lines labelled and follows the debug setting, worlds, services, hooks and vanilla structure fits are scoped to the module they are handed to; module signatures that gained a log 2026-10-10 14:25:52 +02:00
piexel 00a313bd69 CustomModuleTest gives Iris settings to the burst executor itself instead of relying on an earlier test 2026-10-10 13:35:44 +02:00
piexel 8e330bca27 Probe: the deserialization probe reads L's loot and spawn types 2026-10-10 13:35:44 +02:00
piexel 6ab318d445 Merge feat/irisapi-host (T, C, L) into wave3/s: iris:post reads T's settings and the biomes' wall and slab through the shared LayerBlocks, perfection reads C's hideOresForHiddenOre; PendingSettings is gone; decoding tests load every built-in 2026-10-10 13:35:44 +02:00
piexel 405ab0fb2d Iris's worlds give the built-ins their IrisSeed; facade tests 2026-10-10 13:15:34 +02:00
piexel c270f79827 Mechanical: LazyBoundedCache comes from VolmLib (art.arcane.volmlib.util.cache); Iris's copy and its test moved there 2026-10-10 13:12:33 +02:00
piexel 08a4f64d9f Startup datapack ingest skips a pack whose modules fail to load, naming it, and asks the other packs 2026-10-10 13:11:15 +02:00
piexel 213bdf9842 Iris exposes VolmLib and Gson to pack modules; iris:post, iris:perfection and iris:matter leave the compiled-in built-ins for the built-ins jar; tests load them from a pack's modules folder and through the API alone 2026-10-10 13:10:24 +02:00
piexel bdf1389d77 Host side of the module surface: planned mantle blocks, VINE and canPlaceOn, fluid height and upper dimension, a chunk sampler over the neighbors, conversions that keep platform identity, stage timings into the named metrics, Iris's pending settings for the built-ins 2026-10-10 13:10:19 +02:00
piexel 00f220264a Loot and spawn decoding fixture carries the style snippets the dimension's ores now read 2026-10-10 13:08:32 +02:00
piexel b60ca588fe Merge branch 'wave3/l' into feat/irisapi-host 2026-10-10 13:05:52 +02:00
piexel 94f7551fa0 Merge branch 'wave3/c' into feat/irisapi-host
# Conflicts:
#	core/src/test/java/art/arcane/iris/core/modules/DecorantSettingsDecodingTest.java
#	core/src/test/java/art/arcane/iris/engine/actuator/TerrainModuleTest.java
#	core/src/test/java/art/arcane/iris/engine/object/world/biome/IrisBiomeInferenceIsolationTest.java
2026-10-10 13:05:52 +02:00
piexel 52f85d7ae2 Merge branch 'wave3/t' into feat/irisapi-host 2026-10-10 13:04:54 +02:00
piexel dce02229f1 Tests for ambient effects, the spawner gate, content services, placement loot and the studio schemas of the spawn kinds 2026-10-10 13:04:02 +02:00
piexel fbbc9ce4ac Modded loot, drops, spawns, mobs and effects ask the modules through host-typed content services 2026-10-10 13:00:03 +02:00
piexel 781ff0931d Core stops reading the cave, floating and ore settings
Engine.getCaveBiome asks the pack's CaveBiomes service (ModuleServices.overriddenCaveBiome, caveMinDepthBelowSurface) instead of the
carving resolver and the biome's field; the State overload is gone and the Bukkit nms biome source stops threading one.
ModuleSettings.treeBiomes/usedBiomes feed IrisRegion.getAllBiomes and IrisDimension.getReachableBiomes from LinkedBiomes settings.
Tests: decoding of every moved key on the pre-port pack files (OreSettingsDecodingTest, CarveSettingsDecodingTest,
FloatingSettingsDecodingTest), CarvingResolverParityTest (was IrisDimensionCarvingResolverParityTest), EngineCaveBiomeTest,
CaveBiomeBandsTest, IrisRegionBiomeTreeTest, MovedModuleFieldsTest, the inferred variant keeps its module settings, and the
tests that built biomes with the removed fields use module settings
2026-10-10 08:51:28 +02:00
piexel f404dec7d7 Core stops reading loot, spawn and effect classes: services, resource closure for exports, key handler for entities 2026-10-10 08:46:33 +02:00
piexel f26d438ff0 Probe stub: nothing stands on air, as on every platform 2026-10-10 08:42:00 +02:00
piexel f7872685ce Core stops reading biome layers, slab, wall and the dimension's rock, fluid and post processing fields
IrisComplex, UpperDimensionContext and ChunkContext lose the rock and fluid streams, the engine loses the layer density, studio's style timings read the terrain module. Pins of layers and palettes now run through the module classes; tests for the settings of the new keys read real pack files.
2026-10-10 08:37:08 +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 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 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 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 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 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 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 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 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 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