Package net.minecraft.entity.ai.goal
Enum Class CrossbowAttackGoal.Stage
- All Implemented Interfaces:
Serializable
,Comparable<CrossbowAttackGoal.Stage>
,Constable
- Enclosing class:
CrossbowAttackGoal<T extends HostileEntity & RangedAttackMob & CrossbowUser>
- Mappings:
Namespace Name official bjp$a
intermediary net/minecraft/class_1383$class_3744
named net/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage
-
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 CrossbowAttackGoal.Stage
Returns the enum constant of this class with the specified name.static CrossbowAttackGoal.Stage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNCHARGED
- Mappings:
Namespace Name Mixin selector official a
Lbjp$a;a:Lbjp$a;
intermediary field_16534
Lnet/minecraft/class_1383$class_3744;field_16534:Lnet/minecraft/class_1383$class_3744;
named UNCHARGED
Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;UNCHARGED:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
-
CHARGING
- Mappings:
Namespace Name Mixin selector official b
Lbjp$a;b:Lbjp$a;
intermediary field_16530
Lnet/minecraft/class_1383$class_3744;field_16530:Lnet/minecraft/class_1383$class_3744;
named CHARGING
Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;CHARGING:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
-
CHARGED
- Mappings:
Namespace Name Mixin selector official c
Lbjp$a;c:Lbjp$a;
intermediary field_16532
Lnet/minecraft/class_1383$class_3744;field_16532:Lnet/minecraft/class_1383$class_3744;
named CHARGED
Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;CHARGED:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
-
READY_TO_ATTACK
- Mappings:
Namespace Name Mixin selector official d
Lbjp$a;d:Lbjp$a;
intermediary field_16533
Lnet/minecraft/class_1383$class_3744;field_16533:Lnet/minecraft/class_1383$class_3744;
named READY_TO_ATTACK
Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;READY_TO_ATTACK:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
-
-
Constructor Details
-
Stage
private Stage()
-
-
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
-