public class ReplaceBlocksInstruction extends WorldModifyInstruction
| Constructor and Description |
|---|
ReplaceBlocksInstruction(Selection selection,
java.util.function.UnaryOperator<net.minecraft.block.BlockState> stateToUse,
boolean replaceAir,
boolean spawnParticles) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
needsRedraw() |
protected void |
runModification(Selection selection,
PonderScene scene) |
isComplete, tickisBlocking, onScheduled, reset, simplepublic ReplaceBlocksInstruction(Selection selection, java.util.function.UnaryOperator<net.minecraft.block.BlockState> stateToUse, boolean replaceAir, boolean spawnParticles)
protected void runModification(Selection selection, PonderScene scene)
runModification in class WorldModifyInstructionprotected boolean needsRedraw()
needsRedraw in class WorldModifyInstruction