piexel
ba96e0cbc2
ObjectsAt.placedBy: the biomes and regions whose settings place an object
2026-10-09 20:51:05 +02:00
piexel
8137f6dba9
HintedLocator asks the ObjectsAt services which biomes and regions place an object
...
The object search plan no longer reads IrisObjectPlacement: it builds its coarse sampler from the layout entries the
modules name and the biome tree it owns.
2026-10-09 20:51:05 +02:00
piexel
c90ce5ce47
Vanilla structure hook: starts, adjustments and setup, with the fit value types they carry
...
VanillaStructureHook gains three default methods: starts(chunkX, chunkZ, context) for the platform
structures a module starts itself, adjustment(structure, underground, context) for what it changes
about the platform's own starts, and setup(context) for structure set frequencies and protecting the
platform's own definitions from installed data packs. Values: VanillaStructureStart,
VanillaStructureStartContext, VanillaStructureFit, VanillaStructureAdjustment, VanillaStructureSetup,
and the settings-shaped StructureTerrain, StructureStilts, YBand and JigsawOverrides with the JSON
Iris already reads. Reference gains STRUCTURE_PREFIX and STRUCTURE_SET.
2026-10-09 20:50:59 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f4953497a9
Test custom block recording
2026-10-08 13:32:44 +02:00