Package org.bukkit.entity
Enum Skeleton.SkeletonType
- java.lang.Object
-
- java.lang.Enum<Skeleton.SkeletonType>
-
- org.bukkit.entity.Skeleton.SkeletonType
-
- All Implemented Interfaces:
Serializable
,Comparable<Skeleton.SkeletonType>
- Enclosing interface:
- Skeleton
@Deprecated public static enum Skeleton.SkeletonType extends Enum<Skeleton.SkeletonType>
Deprecated.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Skeleton.SkeletonType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static Skeleton.SkeletonType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final Skeleton.SkeletonType NORMAL
Deprecated.Standard skeleton type.
-
WITHER
public static final Skeleton.SkeletonType WITHER
Deprecated.Wither skeleton. Generally found in Nether fortresses.
-
STRAY
public static final Skeleton.SkeletonType STRAY
Deprecated.Stray skeleton. Generally found in ice biomes. Shoots tipped arrows.
-
-
Method Detail
-
values
public static Skeleton.SkeletonType[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Skeleton.SkeletonType c : Skeleton.SkeletonType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Skeleton.SkeletonType valueOf(String name)
Deprecated.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
-
-