Commit Graph
4807 Commits
Author SHA1 Message Date
piexel 901d46a3b9 Host side of the procedural port: IrisObjectBuilder, ProceduralOptions
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.
2026-10-15 11:55:18 +02:00
piexel ad85b7e729 Golden procedural objects also on a game-like platform: properties, defaults, missing blocks 2026-10-15 11:41:55 +02:00
piexel 14b50729e7 Golden test: the overworld pack's procedural objects bake the same variants and placement options 2026-10-15 11:38:55 +02:00
piexel 4209468b4c Placements hand out their pack's resources instead of looking up spawn markers; marker test follows its class 2026-10-15 11:22:39 +02:00
piexel 85dfe08290 Missing built-ins warning names everything a pack loses without the jar 2026-10-15 07:48:13 +02:00
piexel 2d6d60a0fa The Bukkit jar leaves out Iris's own unused classes again: moving the VolmLib entries into their shared file had dropped the Iris entries that sat in the same list, so GridLock shipped without the GridLockSupport it needs 2026-10-15 07:36:17 +02:00
piexel 1f388d761e Merge branch 'wave3b/2' into feat/irisapi-host
# Conflicts:
#	adapters/modded-common/src/main/java/art/arcane/iris/modded/command/ModdedStudioCommands.java
#	core/src/main/java/art/arcane/iris/core/modules/IrisModuleHost.java
#	core/src/main/java/art/arcane/iris/core/modules/IrisPackWorld.java
#	core/src/test/java/art/arcane/iris/core/modules/BuiltInPack.java
#	core/src/test/java/art/arcane/iris/core/pack/ModuleResourceClosureTest.java
#	core/src/test/java/art/arcane/iris/engine/modifier/ApiChunk.java
#	core/src/test/java/art/arcane/iris/engine/object/placement/IrisObjectPlacementToPlacementTest.java
2026-10-15 07:30:30 +02:00
piexel 9a0c4af126 The duplicate-id test uses iris:floating, which is still compiled in, since terrain moved into the jar 2026-10-15 07:28:26 +02:00
piexel eca3908ec1 Merge terrain, decorant and deposit (wave3b/4) with carve and placement: one pinned mantle chunks set with loaded-chunk lookup, both mantle margins, placement terrain reads BedrockSettings and TerrainPalettes, IrisCaveDressing goes 2026-10-15 07:23:42 +02:00
piexel 4f2dd86595 Placement settings read port 6's PlacementMarker: marker targets resolve through the pack's block registry, and spawn markers through its resources 2026-10-15 07:13:42 +02:00
piexel 27ad269e8b Merge branch 'wave3b/5' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/IrisModuleHost.java
#	core/src/main/java/art/arcane/iris/core/modules/IrisPackWorld.java
#	core/src/main/java/art/arcane/iris/core/modules/MissingBuiltInModules.java
#	core/src/test/java/art/arcane/iris/core/modules/BuiltInPack.java
#	core/src/test/java/art/arcane/iris/engine/framework/StructureCaveAnchorResolverTest.java
2026-10-15 07:10:18 +02:00
piexel 4928a80035 Merge branch 'wave3b/3' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/IrisModuleHost.java
#	core/src/test/java/art/arcane/iris/core/modules/BuiltInPack.java
2026-10-15 07:09:43 +02:00
piexel f17267ab8b Merge branch 'wave3b/1' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/IrisModuleHost.java
#	core/src/test/java/art/arcane/iris/core/modules/BuiltInPack.java
2026-10-15 07:09:26 +02:00
piexel 26c2f128f5 Tests for iris:objects' host side and helpers (placement changes, effective placements, cave anchors, ObjectPlacements); the purity allowlist drops IrisTree 2026-10-15 07:08:44 +02:00
piexel 5d9f960a20 Merge branch 'wave3b/6' into feat/irisapi-host 2026-10-15 07:08:41 +02:00
piexel 556ad2faf2 The missing built-ins warning names the caves 2026-10-12 02:41:59 +02:00
piexel 44c5b0ed8a Studio's layer view reads the biome's layer styles through IrisValues 2026-10-12 02:40:40 +02:00
piexel 671bcbae8b Decoding test for the dimension keys bedrock, decorate and the exploded biome palettes 2026-10-12 02:39:43 +02:00
piexel b6926d4ba4 Host side and tests for ported terrain: batched state writes, surface biome id, the layers and palettes live in the exposed package, tests on the API 2026-10-12 02:38:59 +02:00
piexel 5ddcf07fed Iris answers iris:objects through ObjectHost (IrisObjectHost, IrisObjectChunk): object loading and scaling, placement with its stages, carved space and layout reads; the objects module loads from the built-ins jar 2026-10-12 02:36:42 +02:00
piexel 57d5a65c57 Core reads structure placements from settings; package exports leave structures to their own closure
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.
2026-10-12 02:19:49 +02:00
piexel 4f69881e1f Carve port tests: CarveTestWorld/Terrain fixtures, carving resolver parity against Iris's generators, cave carving, applying and mantle facade tests; the jar test lists carve; mantle stages see 16 blocks of terrain 2026-10-12 02:19:37 +02:00
piexel 6c08f545df The probe's platform no longer binds decorator hooks 2026-10-12 02:18:15 +02:00
piexel 7d6256230a Host side for ported decorant: the chunk mantle reaches 16 blocks around, ids are remembered, decorator platform hooks go (the registry answers), tests for the ported decorators 2026-10-12 02:18:10 +02:00
piexel f51ba05ec5 Iris implements the placement facade; the placement stages load from the built-ins jar
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.
2026-10-12 02:09:14 +02:00
piexel 802c384123 Object placements and procedural objects come from iris:objects' module settings (ObjectPlacements) instead of IrisBiome/IrisRegion/IrisDimension fields 2026-10-12 02:07:38 +02:00
piexel d15c3480ab Host side of the carve port: NoiseSampler signed and scaled, minHeight, cave biome of a block, MatterMantle over the invocation's mantle, CaveDressing over layers, decorators and palettes, carve leaves the compiled-in list 2026-10-12 02:07:13 +02:00
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 15a7250ffe Host side for ported terrain, decorant and deposit: caverns layer, surface kind, image-map ground blocks, bottom world Y, the upper dimension, biomes' own settings, vanilla biome, ore variants, COMPLEX seed; deposit leaves the compiled-in list 2026-10-12 02:01:13 +02:00
piexel 1a849643bd PlacementSettingsDecodingTest: an object placement's loot, vanillaLoot and markers read their old fields 2026-10-10 18:25:05 +02:00
piexel 13b8de3458 The deserialization probe reads loot, spawner and entity files through the pack's resources 2026-10-10 18:22:58 +02:00
piexel ae73115c5a iris:loot and iris:spawn leave the compiled-in list for the built-ins jar (JAR_MODULE_IDS, BuiltInPack.jarModules); pack-reading tests put the jar into their pack; the entity key completion reads the pack's entity ids; the missing-jar warning names loot and spawns; RarityWeightingTest replaces IRareWeightingTest 2026-10-10 18:21:37 +02:00
piexel 2b49ffb759 IrisPackWorld implements LiveWorld.Source: the engine's answers for a block, the platform's sky and loot tables, an object's loot and the saved spawner cooldowns, as values; the world manager no longer tidies cooldowns itself (the spawn module does) 2026-10-10 18:21:37 +02:00
piexel 540b4beaed Studio completes a platform loot table option (Reference.LOOT_TABLE); tests follow the object placement's loot and marker types 2026-10-10 18:21:37 +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 7aa06e58f2 Mechanical: LootResolver moves to IrisModule's art.arcane.iris.builtin.loot (imports) 2026-10-10 18:02:53 +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