Commit Graph
4816 Commits
Author SHA1 Message Date
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
piexel 72c3d662c1 The plugin bundles iris-builtins.jar and every pack loads it
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.
2026-10-22 09:45:47 +02:00
piexel 91b251b352 A pack that cannot load stops the server only when a world uses it
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.
2026-10-19 15:58:11 +02:00
piexel 8aa07403e7 Pin tree palettes to Iris's palette noise as before the port
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.
2026-10-19 15:36:44 +02:00
piexel c0080c4bbe Probe binds AtomicCacheFailureReporting like the plugin and the mods
A failing cache supplier now reaches the probe's error sink, so the probe reports it the way a server would.
2026-10-19 15:29:45 +02:00
piexel 46b94ad6a8 Remove iris:placement-settings: the placement stages describe their held types 2026-10-19 15:29:45 +02:00
piexel 37851fee0c A module resource that fails to read throws with the reason
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.
2026-10-19 15:29:45 +02:00
piexel 302166f115 Host side of the structure port: IrisStructureHost, iris:structure-model
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.
2026-10-15 13:03:45 +02:00
piexel 40f042dc8e Host side of the floating port: IrisFloatingHost
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.
2026-10-15 12:36:10 +02:00
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