Commit Graph
115 Commits
Author SHA1 Message Date
piexel c3d175d8de Move the built-in modules to IrisModule.setup
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.
2026-10-23 13:00:11 +02:00
piexel 06617d640b README: a pack must not hold its own copy of the bundled built-ins jar 2026-10-22 09:59:51 +02:00
piexel 242ca3e323 Iris packages and bundles the built-ins jar; this build copies it
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.
2026-10-22 09:45:37 +02:00
piexel f06908a20f Placement stages register the held types Iris's IrisObjectPlacement holds
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.
2026-10-19 15:29:32 +02:00
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 bd7c1a226a README: structure model is Iris's, iris:floating and iris:structure ship in the jar 2026-10-15 13:11:49 +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 2fa678cce2 Merge branch 'wave3b/6' 2026-10-15 07:07:40 +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 0d557da40f builtinModulesJar fails a module that uses a VolmLib class Iris's Bukkit jar leaves out 2026-10-10 15:19: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 973e49b354 Merge branch 'wave3b/g' 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 04ae40341f The built-ins jar holds iris:post, iris:perfection and iris:matter; its check sees VolmLib and Gson as exposed packages 2026-10-10 13:10:24 +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