Package net.minecraft.entity.vehicle
Enum Class AbstractMinecartEntity.Type
java.lang.Object
java.lang.Enum<AbstractMinecartEntity.Type>
net.minecraft.entity.vehicle.AbstractMinecartEntity.Type
- All Implemented Interfaces:
Serializable,Comparable<AbstractMinecartEntity.Type>,Constable
- Enclosing class:
AbstractMinecartEntity
- Mappings:
Namespace Name official cad$aintermediary net/minecraft/class_1688$class_1689named net/minecraft/entity/vehicle/AbstractMinecartEntity$Type
-
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 AbstractMinecartEntity.TypeReturns the enum constant of this class with the specified name.static AbstractMinecartEntity.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RIDEABLE
- Mappings:
Namespace Name Mixin selector official aLcad$a;a:Lcad$a;intermediary field_7674Lnet/minecraft/class_1688$class_1689;field_7674:Lnet/minecraft/class_1688$class_1689;named RIDEABLELnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;RIDEABLE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
CHEST
- Mappings:
Namespace Name Mixin selector official bLcad$a;b:Lcad$a;intermediary field_7678Lnet/minecraft/class_1688$class_1689;field_7678:Lnet/minecraft/class_1688$class_1689;named CHESTLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;CHEST:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
FURNACE
- Mappings:
Namespace Name Mixin selector official cLcad$a;c:Lcad$a;intermediary field_7679Lnet/minecraft/class_1688$class_1689;field_7679:Lnet/minecraft/class_1688$class_1689;named FURNACELnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;FURNACE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
TNT
- Mappings:
Namespace Name Mixin selector official dLcad$a;d:Lcad$a;intermediary field_7675Lnet/minecraft/class_1688$class_1689;field_7675:Lnet/minecraft/class_1688$class_1689;named TNTLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;TNT:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
SPAWNER
- Mappings:
Namespace Name Mixin selector official eLcad$a;e:Lcad$a;intermediary field_7680Lnet/minecraft/class_1688$class_1689;field_7680:Lnet/minecraft/class_1688$class_1689;named SPAWNERLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;SPAWNER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
HOPPER
- Mappings:
Namespace Name Mixin selector official fLcad$a;f:Lcad$a;intermediary field_7677Lnet/minecraft/class_1688$class_1689;field_7677:Lnet/minecraft/class_1688$class_1689;named HOPPERLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;HOPPER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
COMMAND_BLOCK
- Mappings:
Namespace Name Mixin selector official gLcad$a;g:Lcad$a;intermediary field_7681Lnet/minecraft/class_1688$class_1689;field_7681:Lnet/minecraft/class_1688$class_1689;named COMMAND_BLOCKLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;COMMAND_BLOCK:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
-
Constructor Details
-
Type
private Type()
-
-
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
-