piexel
668d46bd91
Let built-in modules describe the classes Iris's own classes hold (registerHeldType)
2026-10-09 20:46:24 +02:00
piexel
7a3f5961cc
IrisData no longer invalidates module caches by hand
...
Drop StructureGraphCatalog.invalidate and IrisObjectScale.invalidate: the caches follow the pack's resource
snapshot and the module world. The scale cache test builds its engine's world state.
2026-10-09 20:45:00 +02:00
piexel
63bd3e3de8
Keep the object scale cache in world state and the structure graph catalog per resource snapshot
...
IrisObjectScale takes the engine and keeps its scaled variants in the world's state store; the structure graph
catalog is keyed by the pack's resource snapshot. Both are rebuilt when a resource reload starts a new world or
snapshot, so IrisData no longer invalidates them by hand.
2026-10-09 20:45:00 +02:00
piexel
49b82f7c16
Fix the JsonSchemaValidator javadoc after the removal of aliases
2026-10-09 20:34:51 +02:00
piexel
46676fd99b
Fix the ModuleHost javadoc after the removal of reserved fields
2026-10-09 20:34:29 +02:00
piexel
e41c9423a2
Host side of PaletteSpec: IrisBlockRegistry.palette picks like IrisMaterialPalette, studio renders it with Iris's definition
2026-10-09 20:30:00 +02:00
piexel
435d3798fd
Add PaletteSpec, PaletteSampler and BlockRegistry.palette
2026-10-09 20:28:54 +02:00
piexel
c1f23830a2
Put @MinItems(1) back on the deposit generator's palette and biome lists
2026-10-09 20:27:12 +02:00
piexel
f3619e1c30
Render @MinItems as minItems in studio's module settings schema
2026-10-09 20:27:12 +02:00
piexel
0f05676b7a
Add @MinItems for list, set and array options and describe it in the pack schema
2026-10-09 20:26:31 +02:00
piexel
2775a4965b
Run module warm-ups with the generation cache warm-up, and for hotloaded and restarted worlds
...
IrisEngine warms modules after GenerationCacheWarmer for the first world (studio in
the background, server worlds synchronously) and after every hotload or in-place
restart; generation waits for all of them through GenerationCacheWarmGate.
2026-10-09 20:24:49 +02:00
piexel
3c05cfea0a
Add the warmUp lifecycle hook and LifecycleRunner.warmUp
2026-10-09 20:22:29 +02:00
piexel
04ce02c042
iris:deposit is written under its feature id only; drop the deposits alias
2026-10-09 20:21:14 +02:00
piexel
d6228c3074
Settings are keyed by feature id and always an object: drop aliases and the one-option bare value
...
The settings decoder, the studio schema renderer and the schema builder no
longer know aliases. Tests and fixtures use the iris:deposit object form.
2026-10-09 20:21:14 +02:00
piexel
f6c078aade
Remove feature aliases, the one-option shorthand and reserved host fields
...
A setting has one JSON key, its feature id, and one shape, its settings object.
Aliases were the only reason for reserved host fields (ids contain ':', host
fields never do), so ModuleHost.reservingFields goes too.
2026-10-09 20:19:08 +02:00
piexel
2851e5d304
Put the slim libraries pack validation needs (Caffeine, Paralithic) on the Bukkit plugin's test classpath
2026-10-09 14:48:13 +02:00
piexel
c895fe117f
Merge wave1/a2
2026-10-09 14:47:05 +02:00
piexel
4de4b346aa
Reconcile wave 1 test fixtures: one serveModules helper, stub the pack folder after it
2026-10-09 14:47:05 +02:00
piexel
99a914633d
Merge wave1/a2
2026-10-09 14:44:29 +02:00
piexel
f0f3c4d1b8
Merge wave1/a1
2026-10-09 14:43:33 +02:00
piexel
25fd24b7c2
Merge wave1/a2
2026-10-09 14:43:33 +02:00
piexel
adb848bf9f
Merge wave1/a1
2026-10-09 14:43:33 +02:00
piexel
94c2ef3ab0
Merge wave1/b
2026-10-09 14:43:33 +02:00
piexel
9c69f1ea88
Merge wave1/a1
2026-10-09 14:43:33 +02:00
piexel
b808f610c6
Merge wave1/b
2026-10-09 14:43:33 +02:00
piexel
b1414a1753
Merge wave1/b
2026-10-09 14:43:33 +02:00
piexel
20d504bd28
Say that a missing image map fails noise building, as Iris's image noise does, instead of falling back
2026-10-09 14:42:33 +02:00
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