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 intermediary net/minecraft/class_1688$class_1689official cad$anamed 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 intermediary field_7674Lnet/minecraft/class_1688$class_1689;field_7674:Lnet/minecraft/class_1688$class_1689;official aLcad$a;a:Lcad$a;named RIDEABLELnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;RIDEABLE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
CHEST
- Mappings:
Namespace Name Mixin selector intermediary field_7678Lnet/minecraft/class_1688$class_1689;field_7678:Lnet/minecraft/class_1688$class_1689;official bLcad$a;b:Lcad$a;named CHESTLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;CHEST:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
FURNACE
- Mappings:
Namespace Name Mixin selector intermediary field_7679Lnet/minecraft/class_1688$class_1689;field_7679:Lnet/minecraft/class_1688$class_1689;official cLcad$a;c:Lcad$a;named FURNACELnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;FURNACE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
TNT
- Mappings:
Namespace Name Mixin selector intermediary field_7675Lnet/minecraft/class_1688$class_1689;field_7675:Lnet/minecraft/class_1688$class_1689;official dLcad$a;d:Lcad$a;named TNTLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;TNT:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
SPAWNER
- Mappings:
Namespace Name Mixin selector intermediary field_7680Lnet/minecraft/class_1688$class_1689;field_7680:Lnet/minecraft/class_1688$class_1689;official eLcad$a;e:Lcad$a;named SPAWNERLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;SPAWNER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
HOPPER
- Mappings:
Namespace Name Mixin selector intermediary field_7677Lnet/minecraft/class_1688$class_1689;field_7677:Lnet/minecraft/class_1688$class_1689;official fLcad$a;f:Lcad$a;named HOPPERLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;HOPPER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
COMMAND_BLOCK
- Mappings:
Namespace Name Mixin selector intermediary field_7681Lnet/minecraft/class_1688$class_1689;field_7681:Lnet/minecraft/class_1688$class_1689;official gLcad$a;g:Lcad$a;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
-