PrefabFarmingStageData
Package: com.hypixel.hytale.builtin.adventure.farming.config.stages
public class PrefabFarmingStageData extends FarmingStageDataA farming stage that places or transitions between prefab structures. Supports weighted random prefab selection, integrity checking of previous prefabs, obstruction testing, and block replacement masking. When transitioning from one prefab to another, performs a diff-based update that only modifies changed blocks and adds break particles. Contains the inner class PrefabStage.
Codec Fields
Section titled “Codec Fields”prefabStages (IWeightedMap
Key Methods
Section titled “Key Methods”| Modifier | Return Type | Signature |
|---|---|---|
public | void | apply(@Nonnull ComponentAccessor<ChunkStore> commandBuffer, @Nonnull Ref<ChunkStore> sectionRef, @Nonnull Ref<ChunkStore> blockRef, int x, int y, int z, @Nullable FarmingStageData previousStage) |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.