public static enum Skeleton.SkeletonType extends Enum<Skeleton.SkeletonType>
Modifier and Type | Method and Description |
---|---|
int |
getId()
Deprecated.
Magic value
|
static Skeleton.SkeletonType |
getType(int id)
Deprecated.
Magic value
|
static Skeleton.SkeletonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Skeleton.SkeletonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Skeleton.SkeletonType NORMAL
public static final Skeleton.SkeletonType WITHER
public static Skeleton.SkeletonType[] values()
for (Skeleton.SkeletonType c : Skeleton.SkeletonType.values()) System.out.println(c);
public static Skeleton.SkeletonType 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@Deprecated public int getId()
@Deprecated public static Skeleton.SkeletonType getType(int id)
id
- ID of the skeleton type to get.Copyright © 2016. All rights reserved.