public static enum SkullBlock.Type extends Enum<SkullBlock.Type> implements SkullBlock.SkullType
Enum Constant and Description |
---|
CREEPER |
DRAGON |
PLAYER |
SKELETON |
WITHER_SKELETON |
ZOMBIE |
Modifier and Type | Method and Description |
---|---|
static SkullBlock.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkullBlock.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkullBlock.Type SKELETON
public static final SkullBlock.Type WITHER_SKELETON
public static final SkullBlock.Type PLAYER
public static final SkullBlock.Type ZOMBIE
public static final SkullBlock.Type CREEPER
public static final SkullBlock.Type DRAGON
public static SkullBlock.Type[] values()
for (SkullBlock.Type c : SkullBlock.Type.values()) System.out.println(c);
public static SkullBlock.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