Package baritone.api.process
Enum Class PathingCommandType
- All Implemented Interfaces:
Serializable,Comparable<PathingCommandType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSet the goal (regardless ofnull), and request a cancel of the current path (when safe)Go and ask the next process what to doSet the goal and path.Has no effect on the current goal or path, just requests a pauseSet the goal and path.Set the goal and path.Sets the goal and calculates a path, but pauses instead of immediately starting the path. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathingCommandTypeReturns the enum constant of this class with the specified name.static PathingCommandType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SET_GOAL_AND_PATH
Set the goal and path.If you use this alongside a
nullgoal, it will continue along its current path and current goal. -
REQUEST_PAUSE
Has no effect on the current goal or path, just requests a pause -
CANCEL_AND_SET_GOAL
Set the goal (regardless ofnull), and request a cancel of the current path (when safe) -
REVALIDATE_GOAL_AND_PATH
Set the goal and path.If
Settings.cancelOnGoalInvalidationistrue, revalidate the current goal, and cancel if it's no longer valid, or if the new goal isnull. -
FORCE_REVALIDATE_GOAL_AND_PATH
Set the goal and path.Cancel the current path if the goals are not equal
-
DEFER
Go and ask the next process what to do -
SET_GOAL_AND_PAUSE
Sets the goal and calculates a path, but pauses instead of immediately starting the path.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-