Package net.minecraft.entity
Enum Class MovementType
- All Implemented Interfaces:
Serializable,Comparable<MovementType>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/MovementTypeintermediary net/minecraft/class_1313official bts
-
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 MovementTypeReturns the enum constant of this class with the specified name.static MovementType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELF
- Mappings:
Namespace Name Mixin selector named SELFLnet/minecraft/entity/MovementType;SELF:Lnet/minecraft/entity/MovementType;intermediary field_6308Lnet/minecraft/class_1313;field_6308:Lnet/minecraft/class_1313;official aLbts;a:Lbts;
-
PLAYER
- Mappings:
Namespace Name Mixin selector named PLAYERLnet/minecraft/entity/MovementType;PLAYER:Lnet/minecraft/entity/MovementType;intermediary field_6305Lnet/minecraft/class_1313;field_6305:Lnet/minecraft/class_1313;official bLbts;b:Lbts;
-
PISTON
- Mappings:
Namespace Name Mixin selector named PISTONLnet/minecraft/entity/MovementType;PISTON:Lnet/minecraft/entity/MovementType;intermediary field_6310Lnet/minecraft/class_1313;field_6310:Lnet/minecraft/class_1313;official cLbts;c:Lbts;
-
SHULKER_BOX
- Mappings:
Namespace Name Mixin selector named SHULKER_BOXLnet/minecraft/entity/MovementType;SHULKER_BOX:Lnet/minecraft/entity/MovementType;intermediary field_6306Lnet/minecraft/class_1313;field_6306:Lnet/minecraft/class_1313;official dLbts;d:Lbts;
-
SHULKER
- Mappings:
Namespace Name Mixin selector named SHULKERLnet/minecraft/entity/MovementType;SHULKER:Lnet/minecraft/entity/MovementType;intermediary field_6309Lnet/minecraft/class_1313;field_6309:Lnet/minecraft/class_1313;official eLbts;e:Lbts;
-
-
Constructor Details
-
MovementType
private MovementType()
-
-
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
-