Enum Class SpearChargeTask.AdvanceState
java.lang.Object
java.lang.Enum<SpearChargeTask.AdvanceState>
net.minecraft.entity.ai.brain.task.SpearChargeTask.AdvanceState
- All Implemented Interfaces:
Serializable,Comparable<SpearChargeTask.AdvanceState>,Constable
- Enclosing class:
SpearChargeTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/SpearChargeTask$AdvanceStateintermediary net/minecraft/class_12359$class_12360official clr$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpearChargeTask.AdvanceStateReturns the enum constant of this class with the specified name.static SpearChargeTask.AdvanceState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPROACH
- Mappings:
Namespace Name Mixin selector named APPROACHLnet/minecraft/entity/ai/brain/task/SpearChargeTask$AdvanceState;APPROACH:Lnet/minecraft/entity/ai/brain/task/SpearChargeTask$AdvanceState;intermediary field_64629Lnet/minecraft/class_12359$class_12360;field_64629:Lnet/minecraft/class_12359$class_12360;official aLclr$a;a:Lclr$a;
-
CHARGING
- Mappings:
Namespace Name Mixin selector named CHARGINGLnet/minecraft/entity/ai/brain/task/SpearChargeTask$AdvanceState;CHARGING:Lnet/minecraft/entity/ai/brain/task/SpearChargeTask$AdvanceState;intermediary field_64630Lnet/minecraft/class_12359$class_12360;field_64630:Lnet/minecraft/class_12359$class_12360;official bLclr$a;b:Lclr$a;
-
RETREAT
- Mappings:
Namespace Name Mixin selector named RETREATLnet/minecraft/entity/ai/brain/task/SpearChargeTask$AdvanceState;RETREAT:Lnet/minecraft/entity/ai/brain/task/SpearChargeTask$AdvanceState;intermediary field_64631Lnet/minecraft/class_12359$class_12360;field_64631:Lnet/minecraft/class_12359$class_12360;official cLclr$a;c:Lclr$a;
-
-
Constructor Details
-
AdvanceState
private AdvanceState()
-
-
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
-