Class FastTravelTask

java.lang.Object
adris.altoclef.tasksystem.Task
adris.altoclef.tasks.movement.FastTravelTask

public class FastTravelTask extends Task
  • 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 travel
      threshold - Threshold for when to fast travel vs when to walk
      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.
    • 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