Package net.minecraft.entity.ai.control
Enum MoveControl.State
- All Implemented Interfaces:
Serializable,Comparable<MoveControl.State>,java.lang.constant.Constable
- Enclosing class:
- MoveControl
public static enum MoveControl.State extends Enum<MoveControl.State>
- Mappings:
Namespace Name official awb$aintermediary net/minecraft/class_1335$class_1336named net/minecraft/entity/ai/control/MoveControl$State
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateState() -
Method Summary
Modifier and Type Method Description static MoveControl.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static MoveControl.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WAIT
- Mappings:
Namespace Name Mixin selector official aLawb$a;a:Lawb$a;intermediary field_6377Lnet/minecraft/class_1335$class_1336;field_6377:Lnet/minecraft/class_1335$class_1336;named WAITLnet/minecraft/entity/ai/control/MoveControl$State;WAIT:Lnet/minecraft/entity/ai/control/MoveControl$State;
-
MOVE_TO
- Mappings:
Namespace Name Mixin selector official bLawb$a;b:Lawb$a;intermediary field_6378Lnet/minecraft/class_1335$class_1336;field_6378:Lnet/minecraft/class_1335$class_1336;named MOVE_TOLnet/minecraft/entity/ai/control/MoveControl$State;MOVE_TO:Lnet/minecraft/entity/ai/control/MoveControl$State;
-
STRAFE
- Mappings:
Namespace Name Mixin selector official cLawb$a;c:Lawb$a;intermediary field_6376Lnet/minecraft/class_1335$class_1336;field_6376:Lnet/minecraft/class_1335$class_1336;named STRAFELnet/minecraft/entity/ai/control/MoveControl$State;STRAFE:Lnet/minecraft/entity/ai/control/MoveControl$State;
-
JUMPING
- Mappings:
Namespace Name Mixin selector official dLawb$a;d:Lawb$a;intermediary field_6379Lnet/minecraft/class_1335$class_1336;field_6379:Lnet/minecraft/class_1335$class_1336;named JUMPINGLnet/minecraft/entity/ai/control/MoveControl$State;JUMPING:Lnet/minecraft/entity/ai/control/MoveControl$State;
-
-
Constructor Details
-
State
private State()
-
-
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
-