Commit Graph
30 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 05ab5ba0cf Baseline IrisModule before the IrisApi port 2026-10-06 13:46:55 +02:00