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
ConstructorsConstructorDescriptionPlaceBlockNearbyTask(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.BlockPosprotected booleanbooleanisFinished(AltoClef mod) protected voidprotected voidprotected Taskprotected StringMethods 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:
toDebugStringin classTask
-
isFinished
- Overrides:
isFinishedin classTask
-
getPlaced
public net.minecraft.util.math.BlockPos getPlaced()
-