Commit Graph
96 Commits
Author SHA1 Message Date
piexel 74d83b5be1 Loot validation names why a table cannot be read
The validator reports the load's reason (such as a field of the wrong type) instead of pointing at the log.
2026-10-19 15:29:32 +02:00
piexel c9058e0892 Structures generate from the built-ins jar
iris:structure moves into the jar as a thin module: it declares the structure
placement settings and the mantle stage, and Iris places the structures through
a StructureHost facade. The structure model, assembler, locator, fitting and
placing stay host. The resource kinds become iris:structure-model/*, owned by
Iris's own module. StructurePlacement names its structures with
@Ref(Reference.PACK_STRUCTURE), so the exposed package names no host class.
CaveProfiles had no users and is removed.
2026-10-15 13:03:42 +02:00
piexel 2ae16b9c9e Floating islands generate in the built-ins jar
FloatingModule, FloatingIslands, the island sampling and the floating object
placing move to the jar on IrisApi types. Iris answers through a FloatingHost
facade: surface biomes, biome lookups and heights, sky biome painting, object
footprints, shrinking and the placement of an object against an island face
(IslandAnchor). FloatingChildren becomes the per-world FloatingWorld,
IslandObjectPlacer the jar's IslandFace, and UndersideTurn turns a footprint the
way Iris's flipped rotation does. The island memos key columns by a Column
record instead of packed longs, whose Long hash collides along diagonals.
2026-10-15 12:36:10 +02:00
piexel d8612fae27 Procedural objects generate in the built-ins jar
The generators build their variants on IrisApi block states through ObjectBuilder, which the host gives out
(ObjectHost.builder()), so a content plugin's block keeps its identity. Each world resolves its procedural
placements once (ObjectHost.procedural(settings, resolve)); the placements describe themselves (clamp, stilt)
and the host reads them as Iris placements. engine/object/procedural goes into iris-builtins.jar.
2026-10-15 11:55:18 +02:00
piexel b630efb818 Structure placement markers move into the exposed package; the blocks stage looks up spawn markers itself 2026-10-15 11:22:39 +02:00
piexel c3ed24364f Merge branch 'wave3b/2'
# Conflicts:
#	builtin-modules.txt
#	src/main/java/art/arcane/iris/builtin/package-info.java
#	src/main/java/art/arcane/iris/engine/mantle/components/ObjectPlacing.java
#	src/main/java/art/arcane/iris/engine/object/terrain/floating/ResolvedFloatingChild.java
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiome.java
#	src/main/java/art/arcane/iris/engine/object/world/biome/IrisBiomeColorRenderer.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-15 07:29:06 +02:00
piexel 0cd2a0e195 The bedrock check asks the height first, so a placement above the bottom rows never reads the dimension's bedrock setting 2026-10-15 07:28:26 +02:00
piexel 3eb987680e Carve dresses caves with the terrain and decorant built-ins' layers, palettes and decorators directly, now that all three ship in the jar: CaveDressing becomes carve's own seam 2026-10-15 07:23:42 +02:00
piexel 81e8b300ef Merge branch 'wave3b/4'
# Conflicts:
#	builtin-modules.txt
#	src/main/java/art/arcane/iris/builtin/package-info.java
#	src/main/java/art/arcane/iris/engine/mantle/components/CaveCarving.java
#	src/main/java/art/arcane/iris/engine/modifier/CarveModule.java
#	src/main/java/art/arcane/iris/engine/modifier/CaveApplying.java
#	src/main/java/art/arcane/iris/engine/modifier/IrisCarveScratch.java
#	src/main/java/art/arcane/iris/engine/object/placement/VacuumModule.java
#	src/main/java/art/arcane/iris/engine/object/placement/ValidateModule.java
2026-10-15 07:15:17 +02:00
piexel 182bb12cbc iris:objects docs for the objects facade; ResolvedTree and ResolvedProceduralObjects drop what nothing reads; EffectivePlacements says what the dimension really does 2026-10-15 07:08:44 +02:00
piexel 4644d94331 Merge branch 'wave3b/5'
# Conflicts:
#	README.md
#	builtin-modules.txt
2026-10-15 07:08:36 +02:00
piexel 3480861f41 Merge branch 'wave3b/3'
# Conflicts:
#	README.md
#	builtin-modules.txt
2026-10-15 07:08:21 +02:00
piexel f7e8b74745 Merge branch 'wave3b/1'
# Conflicts:
#	README.md
#	builtin-modules.txt
#	src/main/java/art/arcane/iris/engine/object/placement/BlocksModule.java
2026-10-15 07:08:13 +02:00
piexel f0fcfbe304 README and package docs: decorant, terrain and deposit in the jar, their new dimension keys, the shared layer classes 2026-10-12 02:57:57 +02:00
piexel 36d464d0a3 Carve and floating islands read a biome's layers once per biome and convert layer blocks once per block instance; the upper dimension's palette explosion is read once per chunk 2026-10-12 02:57:42 +02:00
piexel 12ec03d61c iris:terrain ported onto IrisApi and listed in the built-ins jar; bedrock and exploded palettes become dimension settings; layers and palettes are shared classes of the exposed package 2026-10-12 02:38:59 +02:00
piexel 2d63a9aaa4 iris:objects is written against IrisApi and the objects facade: ObjectModule, ObjectPlacing, ObjectWarmUp, ObjectLocating and TreeGrowing move into iris-builtins.jar; ObjectHost and ObjectChunk are what Iris answers 2026-10-12 02:36:42 +02:00
piexel 965adea59e Structure placements become iris:structure settings under the key packs always wrote
The "structures" lists of dimensions, regions and biomes are StructurePlacementSettings (iris:structure/placements):
StructurePlacement and NativeStructureSource with every option, default and description of IrisStructurePlacement and
IrisNativeStructure, and StructureAnchorMode, StructureDistribution and NativeStructureSuppression with their constants
in the same order (placement identities hash the ordinals). The host fields and classes are deleted, as is the
RegistryListStructure annotation only they used. Every reader asks StructurePlacementScope.placementsOf(owner); the
scope index of which levels declare placements lives in the world's state.
2026-10-12 02:19:49 +02:00
piexel ed8c33fca7 iris:objects and iris:post only order after iris:carve; README 2026-10-12 02:19:37 +02:00
piexel 3ac31c573b iris:decorant ported onto IrisApi and listed in the built-ins jar; decorate becomes a dimension setting 2026-10-12 02:18:10 +02:00
piexel ef893e0ebf The object placement stages move into the built-ins jar
iris:prepare, anchor, validate, bore, blocks, stilt, vacuum and snow read the placement through the
ObjectPlacement facade of art.arcane.iris.builtin.placement (object size, settings, terrain questions, surface warp,
the block operations only the platform can do) and through IrisApi block states and traits, so they pass the jar check.
PreparedPlacement, ObjectSpinKernel and TransformedBounds move into the exposed prepare package, and IrisStages' SLOPE
output is an ObjectRotation and TRANSFORMS a PreparedPlacement. PlacementModules.all() goes.
2026-10-12 02:09:14 +02:00
piexel 412987daf9 iris:objects owns objects, proceduralObjects, treeSettings and the dimension's object surface-support and upper-object switches as module settings; the host reads them through ObjectPlacements 2026-10-12 02:07:38 +02:00
piexel 703f206248 iris:carve moves into the built-ins jar: caves, applying, carving bands and profile sampler on IrisApi, VolmLib and the builtin facades (MatterMantle, CaveDressing); caveLavaHeight and upperDimensionCarving become carve settings 2026-10-12 02:07:13 +02:00
piexel 75f3504ae7 iris:structure answers the new structure services and keeps its locator indexes in world state
StructureLocator.placed and VanillaStructures.startedStructures/locatableStarts/locateStart are answered from the
module's placement index. The Caffeine caches and their invalidate() are gone: each world builds its index once in
its state store, and a pack reload starts a new world. StructureReachability moves to Iris core, its only reader.
2026-10-12 02:06:14 +02:00
piexel b59538ca6f iris:deposit ported onto IrisApi and listed in the built-ins jar 2026-10-12 02:01:13 +02:00
piexel 48ff0908e2 iris:loot and iris:spawn onto the module surface and into iris-builtins.jar: no engine, IrisData, IrisPlatforms or Bukkit types; the validator checks the decoded tables and references 2026-10-10 18:21:31 +02:00
piexel 347c69b0a2 LiveWorld and SpawnCooldowns: what the loot and spawn services ask a running world, as values; the saved cooldowns no longer read spawner files 2026-10-10 18:21:31 +02:00
piexel 4f852f9c47 ObjectLoot, ObjectVanillaLoot and PlacementMarker: the loot and marker lists of an object placement as module-owned types of IrisApi annotations and BlockSpec 2026-10-10 18:21:31 +02:00
piexel 71d0780fcb iris:vanilla-features: importedFeatures become module settings answered through VanillaFeatures, in the built-ins jar
New module iris:vanilla-features (VanillaFeaturesModule, no stages): ImportedFeaturesSettings (key importedFeatures,
dimension; enabled, disabled, steps, disabledSteps as packs wrote them, steps as IrisApi DecorationStep) and the provider
ImportedFeatures (generates / generatesStep / generatesFeature, same rules as IrisImportedFeatureControl). The family rule
both importedFeatures and importedStructures use moves to art.arcane.iris.builtin.RegistryKeyFamily (ImportedStructures
calls it). Listed in builtin-modules.txt and source-patterns.txt. Deleted: IrisImportedFeatureControl, IrisDecorationStep,
NativeFeatureGenerationStatus and IrisDimension.importedFeatures. README.
2026-10-10 18:16:20 +02:00
piexel 6ff5664f4e Mechanical: IrisApi's StructureStep is DecorationStep 2026-10-10 18:04:44 +02:00
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