public enum MinecartType extends Enum<MinecartType> implements ObjectData
| Enum Constant and Description |
|---|
CHEST |
COMMAND_BLOCK |
HOPPER |
MOB_SPAWNER |
NORMAL |
POWERED |
TNT |
| Modifier and Type | Method and Description |
|---|---|
static MinecartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MinecartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinecartType NORMAL
public static final MinecartType CHEST
public static final MinecartType POWERED
public static final MinecartType TNT
public static final MinecartType MOB_SPAWNER
public static final MinecartType HOPPER
public static final MinecartType COMMAND_BLOCK
public static MinecartType[] values()
for (MinecartType c : MinecartType.values()) System.out.println(c);
public static MinecartType 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 nullCopyright © 2020. All rights reserved.