Class PlaceBlockTask
java.lang.Object
adris.altoclef.tasksystem.Task
adris.altoclef.tasks.construction.PlaceBlockTask
- All Implemented Interfaces:
ITaskCanForce
,ITaskRequiresGrounded
- Direct Known Subclasses:
PlaceStructureBlockTask
Place a block type at a position
-
Constructor Summary
ConstructorDescriptionPlaceBlockTask
(net.minecraft.util.math.BlockPos target, net.minecraft.block.Block... toPlace) PlaceBlockTask
(net.minecraft.util.math.BlockPos target, net.minecraft.block.Block[] toPlace, boolean useThrowaways, boolean autoCollectStructureBlocks) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getMaterialCount
(AltoClef mod) static Task
getMaterialTask
(int count) protected boolean
boolean
isFinished
(AltoClef mod) protected void
protected void
protected Task
protected String
Methods inherited from class adris.altoclef.tasksystem.Task
equals, interrupt, isActive, reset, setDebugState, stop, stop, stopped, thisOrChildAreTimedOut, thisOrChildSatisfies, tick, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface adris.altoclef.tasksystem.ITaskRequiresGrounded
shouldForce
-
Constructor Details
-
PlaceBlockTask
public PlaceBlockTask(net.minecraft.util.math.BlockPos target, net.minecraft.block.Block[] toPlace, boolean useThrowaways, boolean autoCollectStructureBlocks) -
PlaceBlockTask
public PlaceBlockTask(net.minecraft.util.math.BlockPos target, net.minecraft.block.Block... toPlace)
-
-
Method Details
-
getMaterialCount
-
getMaterialTask
-
onStart
-
onTick
-
onStop
-
isEqual
-
isFinished
- Overrides:
isFinished
in classTask
-
toDebugString
- Specified by:
toDebugString
in classTask
-