Package baritone.api.pathing.movement
Enum Class MovementStatus
- All Implemented Interfaces:
Serializable,Comparable<MovementStatus>,Constable
- Since:
- 10/8/2018
- Author:
- Brady
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription"Unused"UnusedWe are preparing the movement to be executed.The movement is currently in progress, afterWAITINGThe movement has been completed and we are at our destinationThere was a change in state between calculation and actual movement execution, and the movement has now become impossible.We are waiting for the movement to begin, afterPREPPING. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanstatic MovementStatusReturns the enum constant of this class with the specified name.static MovementStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREPPING
We are preparing the movement to be executed. This is when any blocks obstructing the destination are broken. -
WAITING
We are waiting for the movement to begin, afterPREPPING. -
RUNNING
The movement is currently in progress, afterWAITING -
SUCCESS
The movement has been completed and we are at our destination -
UNREACHABLE
There was a change in state between calculation and actual movement execution, and the movement has now become impossible. -
FAILED
Unused -
CANCELED
"Unused"
-
-
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
-
isComplete
-