Package net.minecraft.entity
Enum MovementType
- All Implemented Interfaces:
Serializable
,Comparable<MovementType>
,java.lang.constant.Constable
public enum MovementType extends Enum<MovementType>
- Mappings:
Namespace Name official arn
intermediary net/minecraft/class_1313
named net/minecraft/entity/MovementType
-
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 PISTON
PLAYER
SELF
SHULKER
SHULKER_BOX
-
Constructor Summary
Constructors Modifier Constructor Description private
MovementType()
-
Method Summary
Modifier and Type Method Description static MovementType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MovementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SELF
- Mappings:
Namespace Name Mixin selector official a
Larn;a:Larn;
intermediary field_6308
Lnet/minecraft/class_1313;field_6308:Lnet/minecraft/class_1313;
named SELF
Lnet/minecraft/entity/MovementType;SELF:Lnet/minecraft/entity/MovementType;
-
PLAYER
- Mappings:
Namespace Name Mixin selector official b
Larn;b:Larn;
intermediary field_6305
Lnet/minecraft/class_1313;field_6305:Lnet/minecraft/class_1313;
named PLAYER
Lnet/minecraft/entity/MovementType;PLAYER:Lnet/minecraft/entity/MovementType;
-
PISTON
- Mappings:
Namespace Name Mixin selector official c
Larn;c:Larn;
intermediary field_6310
Lnet/minecraft/class_1313;field_6310:Lnet/minecraft/class_1313;
named PISTON
Lnet/minecraft/entity/MovementType;PISTON:Lnet/minecraft/entity/MovementType;
-
SHULKER_BOX
- Mappings:
Namespace Name Mixin selector official d
Larn;d:Larn;
intermediary field_6306
Lnet/minecraft/class_1313;field_6306:Lnet/minecraft/class_1313;
named SHULKER_BOX
Lnet/minecraft/entity/MovementType;SHULKER_BOX:Lnet/minecraft/entity/MovementType;
-
SHULKER
- Mappings:
Namespace Name Mixin selector official e
Larn;e:Larn;
intermediary field_6309
Lnet/minecraft/class_1313;field_6309:Lnet/minecraft/class_1313;
named SHULKER
Lnet/minecraft/entity/MovementType;SHULKER:Lnet/minecraft/entity/MovementType;
-
-
Constructor Details
-
MovementType
private MovementType()
-
-
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
-