public static enum AbstractMinecartEntity.Type extends Enum<AbstractMinecartEntity.Type>
Enum Constant and Description |
---|
CHEST |
COMMAND_BLOCK |
FURNACE |
HOPPER |
RIDEABLE |
SPAWNER |
TNT |
Modifier and Type | Method and 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.
|
public static final AbstractMinecartEntity.Type RIDEABLE
public static final AbstractMinecartEntity.Type CHEST
public static final AbstractMinecartEntity.Type FURNACE
public static final AbstractMinecartEntity.Type TNT
public static final AbstractMinecartEntity.Type SPAWNER
public static final AbstractMinecartEntity.Type HOPPER
public static final AbstractMinecartEntity.Type COMMAND_BLOCK
public static AbstractMinecartEntity.Type[] values()
for (AbstractMinecartEntity.Type c : AbstractMinecartEntity.Type.values()) System.out.println(c);
public static AbstractMinecartEntity.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null