piexel
5cb83a4232
Give the modded native reference repair test a pack without modules, which the generation policy now asks, and keep IrisValues' conversions to its package
2026-10-09 14:42:27 +02:00
piexel
182fea6002
Decide over vanilla structures through the structure module's vanilla structure hook: REPLACE where an Iris structure placement replaces the structure, ALSO_PLACE where a placement places it
2026-10-09 14:41:06 +02:00
piexel
621e0e65bc
Apply vanilla structure hooks on every platform: ModuleVanillaStructures asks the pack's hooks once per engine, structure and snapshot, and NativeStructureGenerationPolicy takes suppression and module placement from them instead of reading the structure locator; also render module enums in studio without failing
2026-10-09 14:41:06 +02:00
piexel
03f7d20e1a
Provide ObjectsAt from iris:objects and StructureLocator from iris:structure (StructureLocating), drop a world's structure index when it stops, and keep iris:decorant's Decorating in the world's state store
2026-10-09 14:35:34 +02:00
piexel
f501e3baf7
Give modules a world per engine runtime and pack snapshot with lifecycle hooks, and ask them through services: IrisPackWorld and ModuleWorlds (start on publish, restart when the pack's resources reload, stop on retire), contexts' world(), ModuleServices, Engine.getObjectsAt through ObjectsAt and the Iris structure find path and structure index through StructureLocator
2026-10-09 14:35:32 +02:00
piexel
5a99c2e70c
Build the built-in modules as a pack module jar from a list of module classes and check it with IrisApi's pack class checks
...
builtinModulesJar packages the classes listed in builtin-modules.txt from Iris core's compiled output,
writes the module entry points, runs ModuleJarCheck on the result and only then puts
build/libs/iris-builtins.jar in place. Nothing is listed yet.
2026-10-09 14:33:08 +02:00
piexel
b20a3cf719
Give modules per-world state, lifecycle hooks and services: PackWorld with its state store, InvocationContext.world(), ModuleLifecycle, @Service with Providers ALL, FIRST and ONE, ObjectsAt and StructureLocator, and the host's WorldStates, LifecycleRunner and catalog lookups
2026-10-09 14:32:54 +02:00
piexel
43aafc743e
Test the deposit pilot: existing deposit JSON reads the values Iris read into DepositGenerator, snippets in either reference form, ResolvedDeposit's clumps, salt, ore and biome filters, and the deposit settings schema as a module class
2026-10-09 14:32:20 +02:00
piexel
f69d9128d5
Make deposit settings IrisApi types only: DepositGenerator and its enums in the builtin package with BlockSpec palettes, the palette, ore, replace and clump logic in ResolvedDeposit, and IrisDepositGenerator deleted
2026-10-09 14:32:17 +02:00
piexel
49d90871fa
Serve IrisApi's value types: BlockSpec resolution and block entities through Iris block data, noise from NoiseStyle through Iris generator styles, module snippets under their folder path, AnyKind, and studio rendering value types with Iris's own description of the same JSON
2026-10-09 14:29:14 +02:00
piexel
84969c74bd
Add value types for settings (BlockSpec, NoiseStyle, StyledRange, Range, BlockPosition, Object as any JSON), host-built noise through PackResources.noise(), and VanillaStructureHook for the platform's own structures
2026-10-09 14:20:10 +02:00
piexel
e670f96d26
Load module jars next to the compiled-in built-ins in the built-in pack fixture and leave the iris namespace free
...
IrisModuleHost no longer reserves the iris namespace. BuiltInPack can serve a pack folder whose
modules folder holds module jars, PackModuleJar writes jars of several modules, and
PackModuleJarNextToBuiltInsTest covers a jar of several modules in the iris namespace and a jar module
with a compiled-in built-in's id failing as a duplicate.
2026-10-09 14:11:43 +02:00
piexel
42d31a9ce4
Stop reserving namespaces, let a jar list several modules and add ModuleJarCheck for builds that write module jars
...
ReservedNamespaces and ModuleHost.reservingNamespaces are gone: a pack module may use any
namespace, iris included. A module id is still loaded once, and the duplicate error now names
the origin and class of both modules, so two modules of one jar can be told apart.
A jar lists one module class per line in META-INF/services/com.volmit.IrisModule and loads all
of them in that order; each class must still be defined in the jar. A jar with several modules
is excused by the optional packages of all of them.
ModuleJarCheck runs the load's class checks on one jar without loading it.
2026-10-09 14:08:33 +02:00
piexel
98562bf962
Own structures, jigsaw pools and pieces as resource kinds of iris:structure and check them with its validator, which takes over Iris's structure graph and native replacement checks
2026-10-08 20:36:10 +02:00
piexel
ef4b640867
Let modules declare pack resource kinds and validators: ResourceKind, PackResources.ids, @ResourceRef, the validation API and folders the host reserves
2026-10-08 20:36:10 +02:00
piexel
2f3ba3cebe
Serve module resource kinds through IrisPackResources, run module validators wherever packs are validated, and drop the structure, jigsaw pool and piece loaders and validators from core
2026-10-08 20:36:10 +02:00
piexel
f71346d235
Gather built-in stage constants in one IrisStages catalogue
...
The 20 per-module *Stages holders become nested classes of
art.arcane.iris.builtin.IrisStages, listed in pipeline order, so one
file shows every built-in stage. Settings and output types stay in
their per-module subpackages.
2026-10-08 16:19:31 +02:00
piexel
12c315bb52
Use IrisStages for built-in stage constants
2026-10-08 16:19:31 +02:00
piexel
24920c9113
Shade IrisApi into core so built plugin and mod jars can load packs
2026-10-08 15:38:31 +02:00
piexel
d57f3cd39c
Let the cave application test's block mocks answer hasGravity
2026-10-08 15:30:39 +02:00
piexel
7a9ea0ca5a
Ask the platform whether a block has gravity in cave application instead of keeping a list of block keys
2026-10-08 15:30:38 +02:00
piexel
cf53a54324
Test that vacuum targets are clamped in placer heights for a dimension starting at -64
2026-10-08 15:25:58 +02:00
piexel
162d4d0be8
Clamp vacuum targets to the dimension's own heights instead of Minecraft's range, so terrain can be raised past Y 256 in a dimension that starts at -64
2026-10-08 15:25:58 +02:00
piexel
c19f955fef
Delete the decorant's cave branch, which a constant kept switched off, and the constant
2026-10-08 15:18:34 +02:00
piexel
844e3205ac
Mirror objects along X and Z in the object transformer, mirroring block states through the platform's own mirror
2026-10-08 15:16:25 +02:00
piexel
563c2cd276
Answer the GRAVITY, LOG and LEAVES traits, block tags and attachment to a face from the platform layer, with Bukkit, modded and stub implementations
2026-10-08 15:06:27 +02:00
piexel
818dbef261
Hand IrisApi heights above the dimension's bottom: terrain bounds and the mantle bridge no longer use the world's minimum height, and a test covers a dimension that starts at -64
2026-10-08 14:58:04 +02:00
piexel
09afee8ae3
Make Y the height above the dimension's bottom everywhere in the API: document it, and drop GenerationContext.originY, which is always 0 now
2026-10-08 14:50:04 +02:00
piexel
9b20fc9c91
Bridge mantle access for placement stages: writes are buffered with the placement and reach the mantle on its commit
2026-10-08 14:09:27 +02:00
piexel
a07788fffe
Transform objects for placement stages with Iris's object rotation
2026-10-08 13:59:05 +02:00
piexel
d2b4904263
Serve the pack snapshot's objects, biomes and regions to chunk, mantle and placement stages through PackResources
2026-10-08 13:56:12 +02:00
piexel
c8dd584990
Port cave application into the iris:carve module as CaveApplying; every built-in stage is now a full port
2026-10-08 13:47:00 +02:00
piexel
21efc385da
Delete the engine actuator and modifier base classes and follow the carve rename in the cave tests
2026-10-08 13:47:00 +02:00
piexel
6f56e42971
Port matter insertion into the iris:matter module and remove it from the engine mantle
2026-10-08 13:41:31 +02:00
piexel
a319b36f2d
Remove insertMatter from EngineMantle, test matter insertion, share one block platform between the stage tests
2026-10-08 13:41:31 +02:00
piexel
33fc9adca9
Add PackBiome and PackRegion so modules can look up pack biomes and regions through PackResources
2026-10-08 13:34:26 +02:00
piexel
edb47e6973
Port custom block recording into the iris:custom module and delete the custom modifier
2026-10-08 13:32:44 +02:00
piexel
f4953497a9
Test custom block recording
2026-10-08 13:32:44 +02:00
piexel
3a224c6b03
Port floating island solids and decoration into the iris:floating module as FloatingIslands and delete the child biome modifier
2026-10-08 13:30:29 +02:00
piexel
d1b3299921
Test floating islands
2026-10-08 13:30:29 +02:00
piexel
1802f30d8b
Port post smoothing into the iris:post module as SurfaceSmoothing and delete the post modifier
2026-10-08 13:26:42 +02:00
piexel
d2094f3e6a
Test surface smoothing
2026-10-08 13:26:42 +02:00
piexel
0b9b873dfa
Test decorating through the iris:decorant module and make the terrain test order independent
2026-10-08 13:24:21 +02:00
piexel
713b6cd430
Port decorating into the iris:decorant module and delete the decorant actuator
2026-10-08 13:24:20 +02:00
piexel
4d0ed3a635
Test terrain shaping through the iris:terrain module
2026-10-08 13:18:00 +02:00
piexel
991a2d133a
Port terrain shaping into the iris:terrain module and delete the terrain actuator
2026-10-08 13:18:00 +02:00
piexel
22df943860
Disable mantle stages by flag or stage id in disabledComponents, warn about names that match nothing, offer pack stage ids in studio
2026-10-08 13:09:03 +02:00
piexel
dc07dafa1e
Let disabledComponents name pack mantle stages by id and take plain strings
2026-10-08 13:09:03 +02:00
piexel
2cfb6f0d93
Add a timing test for the any-column settings activation scan
...
It runs a mantle stage conditioned on settings against the same stage without a condition, over
Iris's own ChunkModuleSettings with a biome border in every chunk, and prints the difference per
chunk. It runs only with IRIS_TIMING=1. Measured: about 31 us per chunk and conditioned settings
type, before Iris's cached region and biome stream reads, so the scan is left as it is.
2026-10-08 12:51:05 +02:00
piexel
544a765137
Describe disabledComponents by the mantle flags studio offers
2026-10-08 12:49:37 +02:00