Package net.minecraft.entity.ai.control
Enum Class MoveControl.State
- All Implemented Interfaces:
Serializable
,Comparable<MoveControl.State>
,Constable
- Enclosing class:
MoveControl
- Mappings:
Namespace Name official bhs$a
intermediary net/minecraft/class_1335$class_1336
named 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
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MoveControl.State
Returns the enum constant of this class with the specified name.static MoveControl.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WAIT
- Mappings:
Namespace Name Mixin selector official a
Lbhs$a;a:Lbhs$a;
intermediary field_6377
Lnet/minecraft/class_1335$class_1336;field_6377:Lnet/minecraft/class_1335$class_1336;
named WAIT
Lnet/minecraft/entity/ai/control/MoveControl$State;WAIT:Lnet/minecraft/entity/ai/control/MoveControl$State;
-
MOVE_TO
- Mappings:
Namespace Name Mixin selector official b
Lbhs$a;b:Lbhs$a;
intermediary field_6378
Lnet/minecraft/class_1335$class_1336;field_6378:Lnet/minecraft/class_1335$class_1336;
named MOVE_TO
Lnet/minecraft/entity/ai/control/MoveControl$State;MOVE_TO:Lnet/minecraft/entity/ai/control/MoveControl$State;
-
STRAFE
- Mappings:
Namespace Name Mixin selector official c
Lbhs$a;c:Lbhs$a;
intermediary field_6376
Lnet/minecraft/class_1335$class_1336;field_6376:Lnet/minecraft/class_1335$class_1336;
named STRAFE
Lnet/minecraft/entity/ai/control/MoveControl$State;STRAFE:Lnet/minecraft/entity/ai/control/MoveControl$State;
-
JUMPING
- Mappings:
Namespace Name Mixin selector official d
Lbhs$a;d:Lbhs$a;
intermediary field_6379
Lnet/minecraft/class_1335$class_1336;field_6379:Lnet/minecraft/class_1335$class_1336;
named JUMPING
Lnet/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 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
-