Commit Graph
22 Commits
Author SHA1 Message Date
piexel a13593f16e Batch 7 stage 3: object placing runs on the api
The object, floating and tree placers place through PackWorld.placements()
with their own ObjectRun input instead of ObjectHost. ObjectHost, ObjectChunk,
ObjectSink, the builtin PlaceableObject and the ObjectPlacement facade are
gone; objects come from PackResources.objects(), and Iris's chunk random,
density and heightmap noise from the LegacyStreams extension. Placement stage
constants move to modules.placement.PlacementStages, and smart bore debugging
is the dimension setting iris:blocks/debug-smart-bore. EdgeSimplex is a copy of
Iris's 2D simplex, pinned against it in Iris. Structure loot reads the
structure's tables through StructureHost until stage 4 moves the structures.
2026-10-28 01:25:45 +01:00
piexel 749b187dc4 Batch 7 stage 1: jigsaw definitions become iris:structure resource kinds
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.
2026-10-27 00:59:47 +01:00
piexel bf29f4b486 Batch 6 part 4c: the jar's own types leave the exposed package
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.
2026-10-24 10:48:33 +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 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 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 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 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 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 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 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 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 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 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