Package adris.altoclef.tasks.movement
Class FastTravelTask
java.lang.Object
adris.altoclef.tasksystem.Task
adris.altoclef.tasks.movement.FastTravelTask
-
Constructor Summary
ConstructorDescriptionFastTravelTask
(net.minecraft.util.math.BlockPos overworldTarget, boolean collectPortalMaterialsIfAbsent) Creates fast travel task instanceFastTravelTask
(net.minecraft.util.math.BlockPos overworldTarget, Integer threshold, boolean collectPortalMaterialsIfAbsent) Creates fast travel task instance. -
Method Summary
Methods inherited from class adris.altoclef.tasksystem.Task
equals, interrupt, isActive, isFinished, reset, setDebugState, stop, stop, stopped, thisOrChildAreTimedOut, thisOrChildSatisfies, tick, toString
-
Constructor Details
-
FastTravelTask
public FastTravelTask(net.minecraft.util.math.BlockPos overworldTarget, Integer threshold, boolean collectPortalMaterialsIfAbsent) Creates fast travel task instance.- Parameters:
overworldTarget
- target location in overworld after post travelthreshold
- Threshold for when to fast travel vs when to walkcollectPortalMaterialsIfAbsent
- if we don't have (10 obsidian or a diamond pickaxe) and (a flint and steel or fire charge), collect these items. Otherwise just walk the whole way.
-
FastTravelTask
public FastTravelTask(net.minecraft.util.math.BlockPos overworldTarget, boolean collectPortalMaterialsIfAbsent) Creates fast travel task instance- Parameters:
overworldTarget
- target location in overworld after post travel Bot will use nether travel based on the threshold value in settings.collectPortalMaterialsIfAbsent
- if we don't have (10 obsidian or a diamond pickaxe) and (a flint and steel or fire charge), collect these items. Otherwise just walk the whole way.
-
-
Method Details