Package net.minecraft.entity.ai.goal
Enum CrossbowAttackGoal.Stage
- All Implemented Interfaces:
Serializable,Comparable<CrossbowAttackGoal.Stage>,java.lang.constant.Constable
- Enclosing class:
- CrossbowAttackGoal<T extends HostileEntity & RangedAttackMob & CrossbowUser>
static enum CrossbowAttackGoal.Stage extends Enum<CrossbowAttackGoal.Stage>
- Mappings:
Namespace Name official axz$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 Enum Constant Description CHARGEDCHARGINGREADY_TO_ATTACKUNCHARGED -
Constructor Summary
Constructors Modifier Constructor Description privateStage() -
Method Summary
Modifier and Type Method Description static CrossbowAttackGoal.StagevalueOf(String name)Returns the enum constant of this type with the specified name.static CrossbowAttackGoal.Stage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNCHARGED
- Mappings:
Namespace Name Mixin selector official aLaxz$a;a:Laxz$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 bLaxz$a;b:Laxz$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 cLaxz$a;c:Laxz$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 dLaxz$a;d:Laxz$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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-