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 bui$aintermediary net/minecraft/class_1383$class_3744named 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.StageReturns 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 aLbui$a;a:Lbui$a;intermediary field_16534Lnet/minecraft/class_1383$class_3744;field_16534:Lnet/minecraft/class_1383$class_3744;named UNCHARGEDLnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;UNCHARGED:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
-
CHARGING
- Mappings:
Namespace Name Mixin selector official bLbui$a;b:Lbui$a;intermediary field_16530Lnet/minecraft/class_1383$class_3744;field_16530:Lnet/minecraft/class_1383$class_3744;named CHARGINGLnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;CHARGING:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
-
CHARGED
- Mappings:
Namespace Name Mixin selector official cLbui$a;c:Lbui$a;intermediary field_16532Lnet/minecraft/class_1383$class_3744;field_16532:Lnet/minecraft/class_1383$class_3744;named CHARGEDLnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;CHARGED:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
-
READY_TO_ATTACK
- Mappings:
Namespace Name Mixin selector official dLbui$a;d:Lbui$a;intermediary field_16533Lnet/minecraft/class_1383$class_3744;field_16533:Lnet/minecraft/class_1383$class_3744;named READY_TO_ATTACKLnet/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
-