Vanilla structure hook: starts, adjustments and setup, with the fit value types they carry

VanillaStructureHook gains three default methods: starts(chunkX, chunkZ, context) for the platform
structures a module starts itself, adjustment(structure, underground, context) for what it changes
about the platform's own starts, and setup(context) for structure set frequencies and protecting the
platform's own definitions from installed data packs. Values: VanillaStructureStart,
VanillaStructureStartContext, VanillaStructureFit, VanillaStructureAdjustment, VanillaStructureSetup,
and the settings-shaped StructureTerrain, StructureStilts, YBand and JigsawOverrides with the JSON
Iris already reads. Reference gains STRUCTURE_PREFIX and STRUCTURE_SET.
This commit is contained in:
piexel committed 2026-10-09 20:50:59 +02:00
1 parent 46676fd99b
commit c90ce5ce47
12 files changed
+1173 -5

No files matched your search

@@ -16,6 +16,11 @@ public enum Reference {
BIOME,
/** A platform structure, such as {@code minecraft:village_plains}. */
STRUCTURE,
/** A platform structure or a prefix naming a family of them: {@code minecraft:village_plains},
* {@code minecraft:village} (every village) or {@code nova_structures:} (a whole namespace). */
STRUCTURE_PREFIX,
/** A platform structure set, such as {@code minecraft:villages}. */
STRUCTURE_SET,
/** A potion effect type, such as {@code minecraft:speed}. */
POTION_EFFECT,
/** An enchantment, such as {@code minecraft:sharpness}. */