Enum CrossbowAttackTask.CrossbowState
java.lang.Object
java.lang.Enum<CrossbowAttackTask.CrossbowState>
net.minecraft.entity.ai.brain.task.CrossbowAttackTask.CrossbowState
- All Implemented Interfaces:
Serializable,Comparable<CrossbowAttackTask.CrossbowState>,java.lang.constant.Constable
- Enclosing class:
- CrossbowAttackTask<E extends MobEntity & CrossbowUser,T extends LivingEntity>
static enum CrossbowAttackTask.CrossbowState extends Enum<CrossbowAttackTask.CrossbowState>
- Mappings:
Namespace Name official asy$aintermediary net/minecraft/class_4810$class_4811named net/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState
-
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 privateCrossbowState() -
Method Summary
Modifier and Type Method Description static CrossbowAttackTask.CrossbowStatevalueOf(String name)Returns the enum constant of this type with the specified name.static CrossbowAttackTask.CrossbowState[]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 aLasy$a;a:Lasy$a;intermediary field_22295Lnet/minecraft/class_4810$class_4811;field_22295:Lnet/minecraft/class_4810$class_4811;named UNCHARGEDLnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;UNCHARGED:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
-
CHARGING
- Mappings:
Namespace Name Mixin selector official bLasy$a;b:Lasy$a;intermediary field_22296Lnet/minecraft/class_4810$class_4811;field_22296:Lnet/minecraft/class_4810$class_4811;named CHARGINGLnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;CHARGING:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
-
CHARGED
- Mappings:
Namespace Name Mixin selector official cLasy$a;c:Lasy$a;intermediary field_22297Lnet/minecraft/class_4810$class_4811;field_22297:Lnet/minecraft/class_4810$class_4811;named CHARGEDLnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;CHARGED:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
-
READY_TO_ATTACK
- Mappings:
Namespace Name Mixin selector official dLasy$a;d:Lasy$a;intermediary field_22298Lnet/minecraft/class_4810$class_4811;field_22298:Lnet/minecraft/class_4810$class_4811;named READY_TO_ATTACKLnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;READY_TO_ATTACK:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
-
-
Constructor Details
-
CrossbowState
private CrossbowState()
-
-
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
-