Commit Graph
47 Commits
Author SHA1 Message Date
piexel cd7584b2ab Merge branch 'wave2/e2'
# Conflicts:
#	src/main/java/art/arcane/iris/engine/framework/IrisStructureLocator.java
#	src/main/java/art/arcane/iris/engine/mantle/components/ObjectModule.java
#	src/main/java/art/arcane/iris/engine/object/placement/BlocksModule.java
#	src/main/java/art/arcane/iris/engine/object/placement/IrisObjectPlacement.java
#	src/main/java/art/arcane/iris/engine/object/world/dimension/IrisDimension.java
2026-10-09 22:33:42 +02:00
piexel 877564f545 Merge branch 'wave2/d' 2026-10-09 22:33:28 +02:00
piexel 41a2d5802e Merge branch 'wave2/e1' 2026-10-09 22:33:28 +02:00
piexel 54b22c942d README: module-owned settings held by Iris's classes 2026-10-09 22:32:16 +02:00
piexel 1f3e1c9aba Procedural object settings as module-owned IrisApi types: coral, crystal, formation, fungus, ruin and the tree profile classes; ResolvedProceduralPlacement bakes and places them 2026-10-09 22:31:08 +02:00
piexel 4735477918 README: iris:loot, iris:spawn and the new services of iris:objects; tree species by name 2026-10-09 22:26:05 +02:00
piexel 8428da4f50 Loot tables, spawners, entities and markers are resource kinds of iris:loot and iris:spawn
LootResources and SpawnResources keep the folders and lookups by key; LootValidator is the loot check that was Iris's
PackLootValidator.
2026-10-09 22:24:20 +02:00
piexel feaa1e88c4 Floating settings as module-owned IrisApi types: FloatingChildBiome and its enums; ResolvedFloatingChild holds the noise and object resolution 2026-10-09 22:19:44 +02:00
piexel 910eab1f79 iris:spawn: EntitySpawns provider; entity, item and attribute Bukkit behaviour moved out of the model classes 2026-10-09 22:16:35 +02:00
piexel f7d11e5cf0 Carving settings as module-owned IrisApi types: cave profile, cave field module, anchor mode, carving mode 2026-10-09 22:12:02 +02:00
piexel 8a6bc5bfc0 importedStructures becomes iris:structure settings; the native structure planner moves into the module's vanilla hook
builtin.structure: StructureSettings (feature iris:structure, target DIMENSION, the JSON of IrisImportedStructureControl:
disabled, disabledExact, undergroundYShift, datapackOverrides, frequencyOverrides, adjustments), StructureSetFrequency,
StructureAdjustment, IrisApi types only (fits are StructureTerrain, StructureStilts, YBand).
ImportedStructures reads them: disables (family and exact keys), adjustment per structure and underground step,
setup (frequencies, protecting vanilla definitions), matchesKey. NativeStartPlanner is the planner that was core's
(selectSource, resolveBaseY, priority by placementIdentity, same RNG domain). StructureVanillaHook answers rule
(REPLACE/BLOCK/ALSO_PLACE from placements and settings), adjustment, starts (planner plans as VanillaStructureStarts,
heights above the bottom) and setup; StructureModule registers it and its settings.
Deleted: IrisDimension.importedStructures, IrisImportedStructureControl, IrisVanillaStructureAdjustment,
IrisStructureSetFrequencyOverride, RegistryListVanillaStructureSet, RegistryListVanillaStructure.prefixes.
2026-10-09 22:09:38 +02:00
piexel e94d8e00f7 iris:objects grows saplings into trees and names the objects it places as trees (TreeGrowing) 2026-10-09 22:05:41 +02:00
piexel c4c8fa69d3 ObjectPlaceMode, AnchorSampling and StiltShape move to art.arcane.iris.builtin.anchor with IrisApi annotations 2026-10-09 22:04:03 +02:00
piexel a1af4a85ff iris:loot: Loot and BlockDrops providers, loot table resolution and item drawing moved out of core 2026-10-09 22:02:47 +02:00
piexel 9401e8aa78 Placement settings as module-owned IrisApi types: object limit, slope clip, stilt, vacuum, block replace, axis rotation clamp 2026-10-09 22:01:32 +02:00
piexel 37bc1a0e70 ObjectLocating: iris:objects names the biomes and regions that place an object 2026-10-09 20:51:05 +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 c1f23830a2 Put @MinItems(1) back on the deposit generator's palette and biome lists 2026-10-09 20:27:12 +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 c895fe117f Merge wave1/a2 2026-10-09 14:47:05 +02:00
piexel f0f3c4d1b8 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 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 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 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 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 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 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 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 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 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 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 edb47e6973 Port custom block recording into the iris:custom module and delete the custom modifier 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 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 713b6cd430 Port decorating into the iris:decorant module and delete the decorant actuator 2026-10-08 13:24:20 +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 dc07dafa1e Let disabledComponents name pack mantle stages by id and take plain strings 2026-10-08 13:09:03 +02:00
piexel 544a765137 Describe disabledComponents by the mantle flags studio offers 2026-10-08 12:49:37 +02:00
piexel 847dba8212 Port Iris's object, floating object and structure mantle components to built-in mantle stages
The three mantle components become per-runtime workers constructed from the engine, like CaveCarving:
ObjectPlacing, FloatingObjectPlacing and StructurePlacing, each with place(writer, x, z, context) and
reach(). New built-in mantle stages run them: iris:objects/place (after the caves), iris:floating/objects
(after objects) and iris:structure/place (after objects and floating objects). Each works out its reach
from the pack when it loads, as the component's radius used to be.

CarveModule no longer checks disabledComponents itself: Iris disables the cave stage's pass by its
CARVED flag like any other. Studio's disabledComponents list offers the flags of Iris's own mantle
stages, CARVED included again.
2026-10-08 12:44:43 +02:00
piexel a77a097baf Generate every world through built-in module stages and remove the world modes
The overworld pipeline becomes ten built-in modules with typed ordering: biome, terrain, carve, post,
floating, deposit, matter, decorant, perfection and custom. The world modes and the dimension's mode
setting are gone; a pack's mode key now gets the unknown-key warning.

iris:biome, iris:deposit and the cave planning of iris:carve are full ports. Deposits are settings of
their own (iris:deposit, written as "deposits": [...]) that stack: a chunk gets the dimension's, the
region's and the biome's at its centre column. Cave planning is a mantle stage with a reach of one
block, its work done by CaveCarving. The other stages wrap the existing actuators and modifiers.
Perfection no longer checks for an overworld.
2026-10-08 12:02:38 +02:00
piexel 70a69fadad Describe the ported built-in modules in the README 2026-10-08 08:53:17 +02:00
piexel 90f5181a88 Port perfection to an IrisApi chunk module
- iris:perfection/surface does what IrisPerfectionModifier did on
  overworld chunks: hide ores when the dimension asks, then remove
  decorations whose block below cannot hold them until none is left.
- It runs in the pack's chunk graph on Iris's block hunk, after the
  world mode's stages, so it now follows the custom block stage instead
  of preceding it. ModeOverworld no longer registers it and
  IrisPerfectionModifier is deleted.
- The passes run on the generating thread instead of fanning columns out
  to the burst executor.
2026-10-08 08:50:51 +02:00
piexel 522a9c85b6 Port object placement onto IrisApi modules and delete the lifecycle
- The built-in placement is now eight IrisApi modules: iris:prepare,
  iris:anchor, iris:validate, iris:bore, iris:blocks, iris:stilt,
  iris:vacuum and iris:snow. Their stage constants and output types live
  in art.arcane.iris.builtin, which packs see, the stage bodies beside
  the placement settings they read.
- The modes stay in ObjectPlaceMode, which now names how each mode
  samples its height and which stilt it grows; one graph serves them all.
- The block stages share one pass: the object's blocks are written and
  the stilt layers found together. Snow and the vacuum bend read the
  written blocks from the write stage's output.
- PlacementLifecycle, its builder, plans, stages and state, the
  PlacementModule classes, ObjectBlockPass, IrisObjectPlacementRunner and
  ObjectMarkerPlacement are deleted.
- IrisObject caches its geometry as IrisApi blocks and forgets it with
  its other derived shapes whenever its blocks change.
- IrisObjectPlacement carries the module settings decoded with it.
- The vacuum radius is capped at the 128 blocks its settings allow, the
  reach the vacuum stage declares.
2026-10-08 08:33:42 +02:00
piexel 72cc04e20f Apply Iris's Lombok settings to these sources
Lombok looks for lombok.config upward from each source file and never
reaches ../Iris, so these classes were compiled with getter-based
equals/hashCode/toString. IrisBiome's then linked against org.bukkit and
failed the Bukkit purity gate once it was recompiled.
2026-10-06 14:17:54 +02:00
piexel 05ab5ba0cf Baseline IrisModule before the IrisApi port 2026-10-06 13:46:55 +02:00