public enum SkeletonType extends java.lang.Enum<SkeletonType>
Modifier and Type | Method and Description |
---|---|
SoundEvent |
getAmbientSound() |
static SkeletonType |
getByOrdinal(int ordinal) |
SoundEvent |
getDeathSound() |
SoundEvent |
getHurtSound() |
int |
getId() |
ResourceLocation |
getLootTable() |
SoundEvent |
getStepSound() |
static SkeletonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SkeletonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkeletonType NORMAL
public static final SkeletonType WITHER
public static final SkeletonType STRAY
public static SkeletonType[] values()
for (SkeletonType c : SkeletonType.values()) System.out.println(c);
public static SkeletonType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getId()
public static SkeletonType getByOrdinal(int ordinal)
public ResourceLocation getLootTable()
public SoundEvent getAmbientSound()
public SoundEvent getHurtSound()
public SoundEvent getDeathSound()
public SoundEvent getStepSound()