Commit Graph
5317 Commits
Author SHA1 Message Date
piexel eca3908ec1 Merge terrain, decorant and deposit (wave3b/4) with carve and placement: one pinned mantle chunks set with loaded-chunk lookup, both mantle margins, placement terrain reads BedrockSettings and TerrainPalettes, IrisCaveDressing goes 2026-10-15 07:23:42 +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 58ed81032c Merge branch 'wave3b/4'
# Conflicts:
#	README.md
#	src/main/java/com/volmit/world/TerrainSampler.java
2026-10-15 07:13:58 +02:00
piexel 4f2dd86595 Placement settings read port 6's PlacementMarker: marker targets resolve through the pack's block registry, and spawn markers through its resources 2026-10-15 07:13:42 +02:00
piexel 27ad269e8b Merge branch 'wave3b/5' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/IrisModuleHost.java
#	core/src/main/java/art/arcane/iris/core/modules/IrisPackWorld.java
#	core/src/main/java/art/arcane/iris/core/modules/MissingBuiltInModules.java
#	core/src/test/java/art/arcane/iris/core/modules/BuiltInPack.java
#	core/src/test/java/art/arcane/iris/engine/framework/StructureCaveAnchorResolverTest.java
2026-10-15 07:10:18 +02:00
piexel 4928a80035 Merge branch 'wave3b/3' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/IrisModuleHost.java
#	core/src/test/java/art/arcane/iris/core/modules/BuiltInPack.java
2026-10-15 07:09:43 +02:00
piexel f17267ab8b Merge branch 'wave3b/1' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/IrisModuleHost.java
#	core/src/test/java/art/arcane/iris/core/modules/BuiltInPack.java
2026-10-15 07:09:26 +02:00
piexel 26c2f128f5 Tests for iris:objects' host side and helpers (placement changes, effective placements, cave anchors, ObjectPlacements); the purity allowlist drops IrisTree 2026-10-15 07:08:44 +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 5d9f960a20 Merge branch 'wave3b/6' into feat/irisapi-host 2026-10-15 07:08:41 +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 53b838bd3f PackResources keeps one idOf: the lower-casing ofPackKey one both merged branches added 2026-10-15 07:07:36 +02:00
piexel dc28e0ecda Docs: the terrain sampler's biome, kind, ground block, bottom Y and upper dimension, the caverns layer, declaredBy, oreFor, the chunk mantle's reach 2026-10-15 07:07:12 +02:00
piexel b047a2675d Merge branch 'wave3b/5' 2026-10-15 07:06:59 +02:00
piexel 3ab8b88e56 Merge branch 'wave3b/3'
# Conflicts:
#	CONTRACTS.md
2026-10-15 07:06:59 +02:00
piexel 1ea5d70eaa Merge branch 'wave3b/6' 2026-10-15 07:06:52 +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 556ad2faf2 The missing built-ins warning names the caves 2026-10-12 02:41:59 +02:00
piexel e8443324d4 README, CONTRACTS: signed, scaled, minHeight, idOf and caveBiome 2026-10-12 02:41:19 +02:00
piexel 44c5b0ed8a Studio's layer view reads the biome's layer styles through IrisValues 2026-10-12 02:40:40 +02:00
piexel 671bcbae8b Decoding test for the dimension keys bedrock, decorate and the exploded biome palettes 2026-10-12 02:39:43 +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 b6926d4ba4 Host side and tests for ported terrain: batched state writes, surface biome id, the layers and palettes live in the exposed package, tests on the API 2026-10-12 02:38:59 +02:00
piexel 5ddcf07fed Iris answers iris:objects through ObjectHost (IrisObjectHost, IrisObjectChunk): object loading and scaling, placement with its stages, carved space and layout reads; the objects module loads from the built-ins jar 2026-10-12 02:36:42 +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 57d5a65c57 Core reads structure placements from settings; package exports leave structures to their own closure
ModuleResourceClosure.exportingElsewhere(type) names the resources of a kind another exporter writes:
IrisPackageCompiler and the modded studio export take the placed structure keys from it, and StructurePackageClosure
still copies structures with their pools, pieces and loot. SchemaBuilder loses the RegistryListStructure branches and
StructureSchemaKeys. Tests build placements as packs write them (StructurePlacementFixtures); a decoding test pins
the overworld's ancient city placement and an anonymous cave placement to the identities and starts the old classes
gave.
2026-10-12 02:19:49 +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 6e53d7b723 TerrainSampler.surfaceBiome: the id of a column's surface biome alone 2026-10-12 02:19:48 +02:00
piexel ed8c33fca7 iris:objects and iris:post only order after iris:carve; README 2026-10-12 02:19:37 +02:00
piexel 4f69881e1f Carve port tests: CarveTestWorld/Terrain fixtures, carving resolver parity against Iris's generators, cave carving, applying and mantle facade tests; the jar test lists carve; mantle stages see 16 blocks of terrain 2026-10-12 02:19:37 +02:00
piexel 6c08f545df The probe's platform no longer binds decorator hooks 2026-10-12 02:18:15 +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 7d6256230a Host side for ported decorant: the chunk mantle reaches 16 blocks around, ids are remembered, decorator platform hooks go (the registry answers), tests for the ported decorators 2026-10-12 02:18:10 +02:00
piexel 9514464d9a DESIGN: idOf, caveBiome and ReadOnlyMantle.host 2026-10-12 02:16:52 +02:00
piexel f51ba05ec5 Iris implements the placement facade; the placement stages load from the built-ins jar
IrisPlacement implements ObjectPlacement over the placement's object, IrisObjectPlacement, placer and states
(IrisObjectShape, IrisPlacementSettings, IrisPlacementTerrain). The placement modules leave IrisModuleHost and join
JAR_MODULE_IDS and BuiltInPack.jarModules(); the new host module iris:placement-settings describes the classes
IrisObjectPlacement holds, which a jar module may not. Tests ported; IrisPlacementTest and ObjectSpinKernelTest added.
2026-10-12 02:09:14 +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 802c384123 Object placements and procedural objects come from iris:objects' module settings (ObjectPlacements) instead of IrisBiome/IrisRegion/IrisDimension fields 2026-10-12 02:07:38 +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 d15c3480ab Host side of the carve port: NoiseSampler signed and scaled, minHeight, cave biome of a block, MatterMantle over the invocation's mantle, CaveDressing over layers, decorators and palettes, carve leaves the compiled-in list 2026-10-12 02:07:13 +02:00
piexel 7d9fd3faa6 Core asks for native structure starts and locates through the structure services
ModuleServices gains placedStructures, placesStructure, startedStructures, startsStructure, canLocateStart and
locateStart (a SEARCH_LIMIT_REACHED outcome instead of an exception); StructureHandler, the Bukkit and modded locate
commands and suggestions, the native structure stages, NMS IrisChunkGenerator and NativeStructureLocatePersistence
use them instead of IrisStructureLocator. StructureReachability keeps its keys per world; the hotloader no longer
invalidates locator caches. StructureCaveAnchorResolverTest binds a platform itself (it relied on test order).
2026-10-12 02:06:14 +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 a1c27c632b ReadOnlyMantle.host: the host's mantle behind a chunk stage's read-only view, for the host's own extensions 2026-10-12 02:04:00 +02:00
piexel dfdda39667 GenerationContext.mantle covers the chunk and the 16 blocks around it, like terrain() 2026-10-12 02:03: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