The 37 part classes from v3e (dev) now live in engine/procedural, outside the host's own type
package, so the built-ins jar may register them as a resource kind. ProceduralObjectCatalog reads
iris:objects/procedural definitions from the pack's procedural/ folder and bakes their variants
per world (or detached, for reach); ObjectPool places procedural/<path> and procedural/<path>#<n>
keys like any object and warms them, and ObjectChunk keeps their baked leaves.
ProceduralValue reads its forms (number, range, keyframes, curve shape) through IrisApi's
@JsonForms codec instead of Gson. Trees: procedural/trees/ counts as a tree folder and
TreeGrowing reports every variant it places as a tree.
The v4-era kinds (tree, ruin, formation, coral, fungi, crystal), ProceduralPlacement,
ProceduralObjectSettings and PlacementSource are removed; ObjectPlacement is the one placement.
All 50 @Snippet names become iris/<module>/<old name> (iris/decorant/
decorator, iris/objects/procedural-objects, ...), which the pack
snippet-path rule needs for a snippet type loaded from the jar.
43 types move from art.arcane.iris.builtin to art.arcane.iris.modules:
20 snippets (carve: CarvingEntry, CaveProfile; deposit: generator and
variant; floating: FloatingChildBiome; loot: BlockDrop; objects:
ProceduralObjectSettings and the coral, crystal, formation, fungus,
ruin and procedural tree types), the three floating enums and 20
helpers and enums beside them. TreeOverride, TreeSize,
AxisRotationClamp, the loot entry types and the spawn cluster stay:
ObjectPlacement, ObjectRotation, ObjectLoot and PlacementMarker hold
them, and an exposed type cannot hold a jar-only one.
FloatingWorld asks the running layout for a biome's height, and the island
stage paints sky biomes with TerrainSampler.skyBiome and
Mantle.setPlatformBiome. FloatingHost is deleted.
ObjectPlacement is the one placement type: accessors for every option, a
builder for placements made in code (build() copies, so later builder
changes never reach a built placement) and toBuilder() copies that keep
the source JSON and Iris's cached form. ObjectRotation carries the full
rotation logic, ScaleInterpolation replaces Iris's scale interpolator,
and the modules no longer register held types.
IrisStructure, IrisJigsawPiece, IrisJigsawPieceEntry, IrisJigsawPool, IrisJigsawConnector,
IrisJigsawWorkcell, IrisJigsawWorkcellArchetype and StructureResources move here from Iris core,
with IrisDirection (without its Bukkit helpers, which nothing used) and a KeyedResource base for
the key Iris sets when it reads a resource file. The kinds are iris:structure/structure, /pool and
/piece, registered by StructureModule.
StructureModule leaves the built-ins jar: Iris registers it with its own modules, because Iris's
jigsaw studio, importers and exporters read the resources it registers as the same classes, which
a jar's own copy of a class is not.
41 settings and helper types that only the built-ins jar reads move from
art.arcane.iris.builtin to art.arcane.iris.modules, which Iris does not
expose, and builtin-modules.txt packs them into the jar: the terrain
layers and palettes (BiomeLayers, LayerBlocks, TerrainPalettes,
ResolvedLayer and the terrain settings), the post, decorate, deposit,
carve, floating, loot, spawn and vanilla-feature settings. The exposed
package goes from 16,168 to 13,711 lines.
Types packs write as snippets stay exposed, with what they reference: a
snippet type the host does not share must live under its module's id,
which would move existing packs' snippet folders.
Finding 40, first step. IrisSeeds and LiveWorld are gone: seeds are
world.seed(IrisSeedPurposes.X), which Iris answers with its legacy
seeds, and the loot, spawn, effect and tree services read
world.running() (TerrainSampler, FeatureSettings, sky, highest block).
The block-biome rule is the module's BlockBiomes. ObjectHost loses its
layout and settings lookups (columnSettings, regionAt, biome and region
declarations, cave lava and fluid heights, upper objects, procedural):
object placing reads the chunk's terrain, settings and upper dimension,
and caches procedural objects in world state. Object loot moved to
ObjectHost.placedLoot; spawner cooldowns stay an Iris extension because
Iris persists them with the world. FloatingHost loses surfaceBiome and
biome(key) to the running layout and PackResources.
IrisModule is a Gradle Java build of its own. Its compile classpath is com.volmit:iris-api (never iris-host),
VolmLib (sibling checkout or the published coordinate, as Iris resolves it), Gson, Lombok and the JDK, all
compileOnly, with Iris's compiler options and Lombok config. check compiles every source and builds
build/libs/iris-builtins.jar from these classes with IrisApi's ModuleJarCheck; the jar is byte-identical to the
one Iris built before. Iris consumes it through the capability art.arcane:iris-builtins.
The 111 sources that need Iris itself move to Iris core: the layout model (biomes, regions, dimensions and
their types, generators, noise styles, expressions, images and image maps), the pack's objects, blocks and
matter objects, mods and compat filters, the structure model with its assembler, locator, fitting and placer
(behind StructureHost), and the object placers behind ObjectHost and FloatingHost. Nothing left here reaches
Iris core, engine, platform or util.
source-patterns.txt and the tasks that ran Iris's build (checkBuiltins, packageBuiltinModulesInIris,
builtinSourcesJar) are gone.
- Every facade is asked through IrisApi's extension point:
world.extension(...) for IrisSeeds, LiveWorld, ObjectHost,
FloatingHost and StructureHost, context.extension(...) for
ObjectPlacement and MatterMantle, settings.extension(...) for
reaches. The X.of(...) casts, the *.Source interfaces,
ObjectPlacement.current() and PlacementBinding are gone; IrisSeed is
an enum and IrisSeeds gives the seeds.
- Facades that worked from a thread binding take the invocation
context instead (ObjectHost.chunk, StructureHost.placeChunk,
FloatingHost's placements).
- Resources are looked up by kind and id; services, loot, spawns,
structures, objects, cave bands and LinkedBiomes use ResourceId.
- Value records are built with Optionals, starts are keyed by
StartKey, and deposits ask Mantle.isCarved.
- README describes the extension point and the chunk stage's matter.
Every built-in module now sets up in one setup(ModuleSetup) body. Soft
edges take the stage constants, conditioned stages read their settings
through context.configured, mantle stages are the non-generic
MantleStage, and the slope and anchor producers return null once they
reject.
The built-ins jar is now packaged and checked by Iris's
:core:builtinModulesJar from core's own compiled classes and bundled
into the plugin, so it always fits the Iris it ships with.
builtinModulesJar here runs that task and copies the jar to build/libs;
the packaging, entry file and check tasks moved to Iris, with the
VolmLib include build they needed.
SurfaceFitting (structure fitting, still Iris's) has its own outset
instead of calling IrisObjectVacuum, which lives in the jar only: the
plugin no longer carries the jar's classes outside the jar.
iris:prepare (slope clip, rotation clamp), iris:validate (limit), iris:stilt, iris:vacuum and iris:blocks (replace) describe
their own classes; the host module iris:placement-settings is no longer needed.
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.
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.
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.
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.
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.
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.
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.