Package adris.altoclef.tasks.resources
Class CollectHoneycombTask
java.lang.Object
adris.altoclef.tasksystem.Task
adris.altoclef.tasks.ResourceTask
adris.altoclef.tasks.resources.CollectHoneycombTask
- All Implemented Interfaces:
ITaskCanForce
-
Field Summary
Fields inherited from class adris.altoclef.tasks.ResourceTask
_itemTargets
-
Constructor Summary
ConstructorDescriptionCollectHoneycombTask
(int targetCount) CollectHoneycombTask
(int targetCount, boolean useCampfire) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isEqualResource
(ResourceTask other) protected void
onResourceStart
(AltoClef mod) protected void
onResourceStop
(AltoClef mod, Task interruptTask) protected Task
onResourceTick
(AltoClef mod) protected boolean
protected String
Methods inherited from class adris.altoclef.tasks.ResourceTask
forceDimension, getItemTargets, getToCorrectDimensionTask, isEqual, isFinished, isInWrongDimension, mineIfPresent, onStart, onStop, onTick, shouldForce, toDebugString
Methods inherited from class adris.altoclef.tasksystem.Task
equals, interrupt, isActive, reset, setDebugState, stop, stop, stopped, thisOrChildAreTimedOut, thisOrChildSatisfies, tick, toString
-
Constructor Details
-
CollectHoneycombTask
public CollectHoneycombTask(int targetCount) -
CollectHoneycombTask
public CollectHoneycombTask(int targetCount, boolean useCampfire)
-
-
Method Details
-
onResourceStart
- Specified by:
onResourceStart
in classResourceTask
-
onResourceTick
- Specified by:
onResourceTick
in classResourceTask
-
onResourceStop
- Specified by:
onResourceStop
in classResourceTask
-
isEqualResource
- Specified by:
isEqualResource
in classResourceTask
-
toDebugStringName
- Specified by:
toDebugStringName
in classResourceTask
-
shouldAvoidPickingUp
- Specified by:
shouldAvoidPickingUp
in classResourceTask
-