Class PlaceBlockNearbyTask
java.lang.Object
adris.altoclef.tasksystem.Task
adris.altoclef.tasks.construction.PlaceBlockNearbyTask
Place a type of block nearby, anywhere.
Also known as the "bear strats" task.
-
Constructor Summary
ConstructorDescriptionPlaceBlockNearbyTask
(Predicate<net.minecraft.util.math.BlockPos> canPlaceHere, net.minecraft.block.Block... toPlace) PlaceBlockNearbyTask
(net.minecraft.block.Block... toPlace) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.util.math.BlockPos
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
-
Constructor Details
-
PlaceBlockNearbyTask
public PlaceBlockNearbyTask(Predicate<net.minecraft.util.math.BlockPos> canPlaceHere, net.minecraft.block.Block... toPlace) -
PlaceBlockNearbyTask
public PlaceBlockNearbyTask(net.minecraft.block.Block... toPlace)
-
-
Method Details
-
onStart
-
onTick
-
onStop
-
isEqual
-
toDebugString
- Specified by:
toDebugString
in classTask
-
isFinished
- Overrides:
isFinished
in classTask
-
getPlaced
public net.minecraft.util.math.BlockPos getPlaced()
-