BlockStateFarmingStageData
Package: com.hypixel.hytale.builtin.adventure.farming.config.stages
public class BlockStateFarmingStageData extends FarmingStageDataA farming stage that transitions a block to a different block state (variant of the same block type). Resolves the target state via BlockType.getBlockForState(state) and replaces the block in the world chunk.
Codec Fields
Section titled “Codec Fields”state (String)
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.