Package net.minecraft.entity.vehicle
Enum AbstractMinecartEntity.Type
java.lang.Object
java.lang.Enum<AbstractMinecartEntity.Type>
net.minecraft.entity.vehicle.AbstractMinecartEntity.Type
- All Implemented Interfaces:
Serializable
,Comparable<AbstractMinecartEntity.Type>
,java.lang.constant.Constable
- Enclosing class:
- AbstractMinecartEntity
public static enum AbstractMinecartEntity.Type extends Enum<AbstractMinecartEntity.Type>
- Mappings:
Namespace Name official bja$a
intermediary net/minecraft/class_1688$class_1689
named 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
-
Constructor Summary
Constructors Modifier Constructor Description private
Type()
-
Method Summary
Modifier and Type Method Description static AbstractMinecartEntity.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractMinecartEntity.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RIDEABLE
- Mappings:
Namespace Name Mixin selector official a
Lbja$a;a:Lbja$a;
intermediary field_7674
Lnet/minecraft/class_1688$class_1689;field_7674:Lnet/minecraft/class_1688$class_1689;
named RIDEABLE
Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;RIDEABLE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
CHEST
- Mappings:
Namespace Name Mixin selector official b
Lbja$a;b:Lbja$a;
intermediary field_7678
Lnet/minecraft/class_1688$class_1689;field_7678:Lnet/minecraft/class_1688$class_1689;
named CHEST
Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;CHEST:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
FURNACE
- Mappings:
Namespace Name Mixin selector official c
Lbja$a;c:Lbja$a;
intermediary field_7679
Lnet/minecraft/class_1688$class_1689;field_7679:Lnet/minecraft/class_1688$class_1689;
named FURNACE
Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;FURNACE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
TNT
- Mappings:
Namespace Name Mixin selector official d
Lbja$a;d:Lbja$a;
intermediary field_7675
Lnet/minecraft/class_1688$class_1689;field_7675:Lnet/minecraft/class_1688$class_1689;
named TNT
Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;TNT:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
SPAWNER
- Mappings:
Namespace Name Mixin selector official e
Lbja$a;e:Lbja$a;
intermediary field_7680
Lnet/minecraft/class_1688$class_1689;field_7680:Lnet/minecraft/class_1688$class_1689;
named SPAWNER
Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;SPAWNER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
HOPPER
- Mappings:
Namespace Name Mixin selector official f
Lbja$a;f:Lbja$a;
intermediary field_7677
Lnet/minecraft/class_1688$class_1689;field_7677:Lnet/minecraft/class_1688$class_1689;
named HOPPER
Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;HOPPER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
COMMAND_BLOCK
- Mappings:
Namespace Name Mixin selector official g
Lbja$a;g:Lbja$a;
intermediary field_7681
Lnet/minecraft/class_1688$class_1689;field_7681:Lnet/minecraft/class_1688$class_1689;
named COMMAND_BLOCK
Lnet/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 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
-