Commit Graph
57 Commits
Author SHA1 Message Date
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 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 7a0d269780 README: iris:structure provides VanillaStructures and owns the structure fit; place modes are data 2026-10-10 03:56:04 +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 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 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 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