Files
Iris/src/main/java/com/volmit/vanilla/StructureStep.java
T
piexel ee7bb11790 VanillaStructures service replaces the vanilla structure hook; fit values leave the API
The hook's rule, starts and setup move to a @Service(ALL) VanillaStructures with default methods. adjustment and the
fit value types (VanillaStructureAdjustment, VanillaStructureFit, StructureTerrain, StructureStilts, YBand) are gone:
modules keep their fit vocabulary as settings. New neutral questions: shift (vertical move of a platform start),
reach (how far around its pieces a module changes terrain for a start), beforePieces/afterPieces around the platform
placing a chunk's starts. StructureFit hands a module the chunk's starts (pieces, junctions, processed template cells,
template columns, legacy template air, platform terrain adaptation and step, the start's memo), the chunk's live
blocks as a BlockAccess, the surface heights and the platform's natural block. VanillaStructureStart carries a
StartMemo instead of a fit; the host keeps it with the start's ownership record.
2026-10-10 02:53:51 +02:00

22 lines
651 B
Java

package com.volmit.vanilla;
/** The decoration step in which the platform places a structure's pieces, in the platform's order. */
public enum StructureStep {
RAW_GENERATION,
LAKES,
LOCAL_MODIFICATIONS,
UNDERGROUND_STRUCTURES,
SURFACE_STRUCTURES,
STRONGHOLDS,
UNDERGROUND_ORES,
UNDERGROUND_DECORATION,
FLUID_SPRINGS,
VEGETAL_DECORATION,
TOP_LAYER_MODIFICATION;
/** Whether this is one of the steps the platform places its underground structures in. */
public boolean isUnderground() {
return this == UNDERGROUND_STRUCTURES || this == UNDERGROUND_DECORATION || this == STRONGHOLDS;
}
}