Commit Graph
66 Commits
Author SHA1 Message Date
piexel d18972048c Mechanical: LootResolver moves to art.arcane.iris.builtin.loot, where the loot module and the hosts that fill containers share it 2026-10-10 18:02:53 +02:00
piexel 0b02cb3298 Mechanical: Vector3i, IrisVector, IrisBlockVector, VectorMap, AtomicCache and Cache's key helpers come from VolmLib 2026-10-10 15:18:05 +02:00
piexel 8d1a3dca18 Merge branch 'wave3b/p' 2026-10-10 15:07:18 +02:00
piexel 78eee638ae iris:post reads its neighbours' heights through TerrainSampler.surfaceY, which spares the host the slope of every column of the height plane 2026-10-10 14:46:22 +02:00
piexel fb92f88ab1 Modules log through the ModuleLog of their context, world or registry instead of IrisLogging; helpers without one take it from their caller 2026-10-10 14:25:32 +02:00
piexel db0f8a9186 iris:biome and iris:custom leave the module sources: Iris registers them itself, in core 2026-10-10 14:25:32 +02:00
piexel 2148eb28cd Merge master (T, C, L) into wave3/s: iris:post reads T's post and terrain settings, iris:perfection C's hideOresForHiddenOre; a layer's block picks move into the shared, portable LayerBlocks so terrain, caves and post keep one noise per layer; PendingSettings is gone 2026-10-10 13:35:48 +02:00
piexel df6081b7b7 README: the built-ins jar holds post, perfection and matter; the built-in facades 2026-10-10 13:16:39 +02:00
piexel 9761138fb0 IrisSeed: Iris's per-feature world seeds for the built-ins, the one place they reach SeedManager 2026-10-10 13:15:34 +02:00
piexel 029406b448 Mechanical: LazyBoundedCache comes from VolmLib (art.arcane.volmlib.util.cache) 2026-10-10 13:12:33 +02:00
piexel bf2a0b5e59 iris:post, iris:perfection and iris:matter use only IrisApi and art.arcane.iris.builtin; PendingSettings carries the dimension and biome settings C and T are moving; built-ins order after the jar's stages without requiring them 2026-10-10 13:10:24 +02:00
piexel 95a086f3e0 Merge branch 'wave3/l'
# Conflicts:
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiome.java
#	src/main/java/art/arcane/iris/engine/object/world/dimension/IrisDimension.java
#	src/main/java/art/arcane/iris/engine/object/world/region/IrisRegion.java
2026-10-10 13:05:31 +02:00
piexel 9b5ced0cc8 Merge branch 'wave3/c'
# Conflicts:
#	README.md
#	src/main/java/art/arcane/iris/engine/actuator/TerrainModule.java
#	src/main/java/art/arcane/iris/engine/mantle/components/CaveCarving.java
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiome.java
#	src/main/java/art/arcane/iris/engine/object/world/dimension/IrisDimension.java
2026-10-10 13:05:25 +02:00
piexel 697d21f8a4 PlacementLoot takes the placement's lists, so its picks can be tested 2026-10-10 13:00:03 +02:00
piexel c9efe0d73d ObjectPlacing: a dimension without a cave profile falls back to one shared default profile 2026-10-10 08:53:57 +02:00
piexel cff492ada8 Caves and floating islands are settings of iris:carve and iris:floating
caveProfile (CaveProfile is the feature, held by dimension, region and biome), carving (CarvingSettings of CarvingEntry),
carvingEnabled, carvingBiome and caveMinDepthBelowSurface are iris:carve settings; floatingChildBiomes and
mergeFloatingChildBiomes are iris:floating settings, all under the keys and shapes packs always wrote. CarvingEntry is
IrisApi-typed; ResolvedCarvingEntry, CarvingBands (the world's bands) and CarvingResolver (was IrisDimensionCarvingResolver)
hold the behaviour, CaveProfiles and FloatingChildren read the settings. iris:carve provides CaveBiomes (CaveBiomeBands).
CarvingBiomeSettings, CarvingSettings and FloatingChildSettings implement LinkedBiomes, so the biome tree and the biomes a
dimension reaches learn of the biomes they name without reading the classes. IrisBiome, IrisRegion and IrisDimension lose the
fields, the carving entry index and getRealCarvingBiome; IrisDimensionCarvingEntry is deleted. CaveApplying and DepositPlacer
no longer thread a resolver state through the cave biome lookup.
2026-10-10 08:51:28 +02:00
piexel df88a4a050 Loot, block drops, entity spawners and effects become settings of iris:loot and iris:spawn; their classes become module types of IrisApi annotations 2026-10-10 08:46:32 +02:00
piexel 23eaa15e86 Layers, slab, wall, sea and cave ceiling layers, rock and fluid palettes and the post processing switches become iris:terrain and iris:post settings
IrisBiomePaletteLayer is the PaletteLayer value, IrisBiomeLayerGenerator is BiomeLayers over ResolvedLayer, the dimension's rock and fluid streams are TerrainPalettes. The decorator slope and SlopeClip are one class. A biome's inferred variants keep its module settings.
2026-10-10 08:36:44 +02:00
piexel 6617cc3957 Ores, hideOresForHiddenOre, deposit variants and the ore deposit multipliers are settings of iris:terrain and iris:deposit
OreSettings (ores), HideOresSettings (hideOresForHiddenOre), DepositVariantSettings (depositVariants),
OreFrequencySettings and OreSizeSettings are IrisApi-typed features under the keys packs always wrote.
ResolvedOre/ResolvedOres/TerrainOres keep the resolved blocks and the chance noise per world, warmed in
the same order and with the same seeds as before; ResolvedDepositVariant resolves the remaps. IrisBiome,
IrisRegion and IrisDimension lose the fields and their caches; IrisOreGenerator, IrisBiomeOres,
IrisOreGeneratorBounds and IrisDepositVariant are deleted. Inferred biome variants keep the module
settings of the biome they are copied from.
2026-10-10 08:27:45 +02:00
piexel dcf5cc045a Delete RegistryListNativeJigsawPool: the jigsaw start pool completes through Reference.TEMPLATE_POOL 2026-10-10 08:05:00 +02:00
piexel 95817f6d17 Object place modes are data the placement stages ask
Each ObjectPlaceMode carries a PlaceMode: its height sampling, its stilt, its VacuumProfile (default radius, column
step, edge) and its traits (RAW_STAMP, FREE_HEIGHT, UPSIDE_DOWN, CAVE_ANCHORED). The stages, the structure placer,
the locator and the replacement validation ask the data instead of comparing modes; a floating island derives its
stilt-free mode from the data. The JSON names are unchanged.

Core and the adapters no longer read ObjectPlaceMode: the jigsaw export asks the structure whether it stamps its
pieces where assembled, and the structure commands take IrisObjectPlacement.stampingStructurePieces().
2026-10-10 03:54:40 +02:00
piexel 3d7b82c2cb Structure fit moves into iris:structure behind the VanillaStructures service
The module now owns every way a platform start meets the terrain: the surface fit (SOURCE beard, VACUUM and its
foundation repair), terrain integration (SOURCE bury and encapsulate, ENCASE, BORE, FORCE_CARVE with the organic
carve), rigid piece support, legacy template air and stilts, all written against StructureFit and BlockAccess in the
new structure/fit package. Where a start sits (shift, band, burial) and how far it reaches are module answers too.

The fit settings become the module's own: StructureTerrain, StructureTerrainMode, StructureCarveShape,
StructureStilts and StructureYBand replace the Iris classes and the API values, with the same JSON. A start carries
its fit as a memo (terrain JSON, stilts JSON) so every chunk it reaches fits it the same way. The jigsaw overrides of
a placement are the API's JigsawOverrides.
2026-10-10 03:50:39 +02:00
piexel 13aa3ccc68 Built-in settings declare their JSON keys: deposits, decorators, importedStructures
DepositSettings and DecorantSettings hold their one option's list as the value of
the key (root), StructureSettings is the object under importedStructures. The
feature ids stay the modules' identity. README names the keys.
2026-10-09 23:27:19 +02:00
piexel 4203c07c29 Merge branch 'wave2/c'
# Conflicts:
#	README.md
#	src/main/java/art/arcane/iris/engine/mantle/components/ObjectModule.java
#	src/main/java/art/arcane/iris/engine/object/decoration/IrisDecorator.java
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiome.java
2026-10-09 22:47:28 +02:00
piexel 8cf11774da ResolvedDecorator exposes its seed; README describes iris:decorant 2026-10-09 22:46:24 +02:00
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 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 587c24deb5 Decorators become iris:decorant settings of IrisApi types; the decorant module keeps the resolved decorators per world
Decorator, DecorationPart, DecoratorSlope and DecorantSettings (iris:decorant, biome level) replace IrisDecorator
and IrisDecorationPart. ResolvedDecorator holds the blocks and noise, BiomeDecorators the per-world buckets, warm-up
and load figures. Ore and object warm-up move into the terrain and objects modules' warmUp.
2026-10-09 21:59:43 +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