Commit Graph
5317 Commits
Author SHA1 Message Date
piexel 15a7250ffe Host side for ported terrain, decorant and deposit: caverns layer, surface kind, image-map ground blocks, bottom world Y, the upper dimension, biomes' own settings, vanilla biome, ore variants, COMPLEX seed; deposit leaves the compiled-in list 2026-10-12 02:01:13 +02:00
piexel 1a849643bd PlacementSettingsDecodingTest: an object placement's loot, vanillaLoot and markers read their old fields 2026-10-10 18:25:05 +02:00
piexel 4a0d82ea3b BlockRegistry.oreFor: the ore variant that suits the rock it is placed in, which the platform decides 2026-10-10 18:23:25 +02:00
piexel 13b8de3458 The deserialization probe reads loot, spawner and entity files through the pack's resources 2026-10-10 18:22:58 +02:00
piexel 9013c6e84b TerrainSampler.caveBiome: the cave biome of a block alone 2026-10-10 18:22:21 +02:00
piexel ae73115c5a iris:loot and iris:spawn leave the compiled-in list for the built-ins jar (JAR_MODULE_IDS, BuiltInPack.jarModules); pack-reading tests put the jar into their pack; the entity key completion reads the pack's entity ids; the missing-jar warning names loot and spawns; RarityWeightingTest replaces IRareWeightingTest 2026-10-10 18:21:37 +02:00
piexel 2b49ffb759 IrisPackWorld implements LiveWorld.Source: the engine's answers for a block, the platform's sky and loot tables, an object's loot and the saved spawner cooldowns, as values; the world manager no longer tidies cooldowns itself (the spawn module does) 2026-10-10 18:21:37 +02:00
piexel 540b4beaed Studio completes a platform loot table option (Reference.LOOT_TABLE); tests follow the object placement's loot and marker types 2026-10-10 18:21:37 +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 44c98dcd8b NoiseSampler.scaled: the noise with an extra coordinate scale, folded into the host's generator 2026-10-10 18:19:54 +02:00
piexel 750e0691a6 Structure services answer what Iris core still asked its locator directly: placed keys and the starts a module makes of platform structures
StructureLocator.placed(world) (default: locatable): every key under which locate finds what the module places, its own
structures and the platform structures it starts or stands in for; the host routes locate by it.
VanillaStructures.startedStructures(world), locatableStarts(world) and locateStart(world, structure, fromX, fromZ,
maxRings, ChunkFilter): the platform structures a module starts itself, the ones it can find, and the nearest start of
one, ring by ring through the module's grids, trying only the chunks the host's filter accepts (the platform's /locate
checks each start in the world and asks again without a refused chunk). README, DESIGN, CONTRACTS; test.
2026-10-10 18:18:01 +02:00
piexel 0cfcada4f2 Native placed features are decided by the pack's VanillaFeatures providers, kept per world
NativeFeatureGenerationPolicy asks VanillaFeatureAnswers (new, core/modules, per world in the state store): the pass runs
when any provider turns it on; a step or feature any provider refuses is skipped; each asked once per world.
ModuleServices.vanillaFeatures. The Bukkit NMS and modded imported-feature stages decide their steps once per table
(platform step index) and ask per feature through the policy; the table no longer holds the dimension's control.
resolve/generationStatusMessage and their status enum had no caller outside tests and are gone.
IrisModuleHost.JAR_MODULE_IDS and BuiltInPack.jarModules() list iris:vanilla-features.
Tests: NativeFeatureGenerationPolicyTest (through the built-in module and pack modules, asked once per world, step
order), ImportedFeaturesTest (was IrisImportedFeatureControlTest), VanillaFeaturesSettingsDecodingTest,
SchemaBuilderParityTest +1 (was ImportedFeatureControlSchemaTest).
2026-10-10 18:16:20 +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 8921042fdb registerHeldType: a pack module may describe a class the host loads (an exposed package), not one of its own jar 2026-10-10 18:15:44 +02:00
piexel 904a6599b3 PackResources.idOf: the id the pack's resources give a resource the pack names by key 2026-10-10 18:14:00 +02:00
piexel 40cb759271 Mantle stages see the terrain at least 16 blocks around their chunk, as chunk stages do 2026-10-10 18:13:46 +02:00
piexel dcbac2ca59 Reference.LOOT_TABLE: an option that names a loot table of the platform 2026-10-10 18:13:36 +02:00
piexel ceac26bd18 PackWorld.minHeight: the platform's Y of the dimension's bottom, for settings that name an absolute world Y 2026-10-10 18:07:22 +02:00
piexel 030cbbb8fc DecorationStep describes itself and its steps (@Desc), so settings that list steps keep their studio descriptions 2026-10-10 18:07:05 +02:00
piexel 24eeeab615 NoiseSampler.signed: the sample mapped to -1..1, which a host may answer from a per-thread coordinate memo 2026-10-10 18:06:46 +02:00
piexel d1a1512a6d TerrainSampler: the surface biome's kind, the world Y of the dimension's bottom, image-map ground blocks and the dimension stacked above; FeatureSettings.declaredBy for biomes that are no column's surface biome 2026-10-10 18:05:50 +02:00
piexel 6eac1a87ca PackBiome.vanillaBiome: the biome vanilla's own rules see a pack biome as 2026-10-10 18:05:50 +02:00
piexel f3d1ff8d13 Mantle.caverns(): where the mantle carved voids for a chunk to take over, read-only like the planned blocks 2026-10-10 18:05:50 +02:00
piexel 520cae4a6b Mechanical: IrisApi's StructureStep is DecorationStep 2026-10-10 18:04:44 +02:00
piexel 6ff5664f4e Mechanical: IrisApi's StructureStep is DecorationStep 2026-10-10 18:04:44 +02:00
piexel 8676ebc328 VanillaFeatures service: whether the platform's own placed features run over a world and which steps and features they skip
@Service(ALL): generates(world) (off unless a module turns it on), generatesStep(world, Optional<DecorationStep>)
(empty for a step the API does not name) and generatesFeature(world, feature); any provider may refuse a step or a
feature. Answers depend on the world only; the host asks once per world, step and feature. README services table,
DESIGN services and feature map, CONTRACTS types and host duty; a test that a silent provider leaves the pass off.
2026-10-10 18:04:44 +02:00
piexel cf8b2bb0f6 StructureStep becomes DecorationStep: the platform's decoration steps also order its placed features, which the next service names
Pure rename (and its javadoc); every use in StructureFit, the test and CONTRACTS follows.
2026-10-10 18:04:40 +02:00
piexel 60d4deb0e9 Reference.LOOT_TABLE: an option that names a loot table of the platform 2026-10-10 18:03:52 +02:00
piexel 7aa06e58f2 Mechanical: LootResolver moves to IrisModule's art.arcane.iris.builtin.loot (imports) 2026-10-10 18:02:53 +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 d17a017418 PackResources.idOf: the id a pack gives the resource its files name by a key (ResourceId.ofPackKey) 2026-10-10 18:02:08 +02:00
piexel 48e328baef The VolmLib classes the Bukkit jar leaves out move to one file that IrisModule's jar check reads too 2026-10-10 15:19: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 d2d746734f ModuleJarCheck rejects a module that references a class the host's jar leaves out of an exposed library 2026-10-10 15:19:42 +02:00
piexel 05fb6a170a Mechanical: Vector3i, IrisVector, IrisBlockVector, VectorMap, AtomicCache and Cache's key helpers come from VolmLib (Iris's copies deleted) 2026-10-10 15:18:05 +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 9d886e3c69 Iris binds AtomicCache's failure handler to its logging and error reporting at startup 2026-10-10 15:18:05 +02:00
piexel 80d50b5cff Merge branch 'wave3b/p' into feat/irisapi-host
# Conflicts:
#	core/src/main/java/art/arcane/iris/core/modules/ModuleServices.java
2026-10-10 15:07:41 +02:00
piexel 1a319d842b Merge branch 'wave3b/p' 2026-10-10 15:07:18 +02:00
piexel 8d1a3dca18 Merge branch 'wave3b/p' 2026-10-10 15:07:18 +02:00
piexel d741bb5119 Merge branch 'wave3b/g' into feat/irisapi-host 2026-10-10 15:07:18 +02:00
piexel 048e87c5ed Merge branch 'wave3b/g' 2026-10-10 15:07:18 +02:00
piexel 973e49b354 Merge branch 'wave3b/g' 2026-10-10 15:07:18 +02:00
piexel 8c253ad6dc PlatformBlockStates remembers the state it read last: chunk scans read long runs of one state 2026-10-10 14:46:22 +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 0d9278c0ac IrisTerrainSampler answers surfaceY from the height stream alone, without the slope a column works out 2026-10-10 14:46:22 +02:00
piexel 339efd6174 Cave biomes ask the world's CaveBiomes provider through CaveBiomeAnswers, kept per world: the provider is found once, each biome's minimum depth asked once and each overriding biome loaded once (it was a catalog scan twice per cave block) 2026-10-10 14:46:22 +02:00
piexel b6a216462d A loaded pack's modules are handed out without taking the module set's lock: every cave biome asks for them, from every generating thread 2026-10-10 14:46:22 +02:00