Enum Constant and Description |
---|
DONKEY |
HORSE |
MULE |
SKELETON |
ZOMBIE |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeChested() |
boolean |
canMate() |
SoundEvent |
getAmbientSound() |
static HorseType |
getArmorType(int armorID) |
SoundEvent |
getDeathSound() |
TextComponentTranslation |
getDefaultName() |
SoundEvent |
getHurtSound() |
ResourceLocation |
getLootTable() |
int |
getOrdinal() |
ResourceLocation |
getTexture() |
boolean |
hasMuleEars() |
boolean |
isHorse() |
boolean |
isUndead() |
static HorseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorseType HORSE
public static final HorseType DONKEY
public static final HorseType MULE
public static final HorseType ZOMBIE
public static final HorseType SKELETON
public static HorseType[] values()
for (HorseType c : HorseType.values()) System.out.println(c);
public static HorseType 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 SoundEvent getAmbientSound()
public SoundEvent getHurtSound()
public SoundEvent getDeathSound()
public TextComponentTranslation getDefaultName()
public ResourceLocation getTexture()
public boolean canBeChested()
public boolean hasMuleEars()
public boolean isUndead()
public boolean canMate()
public boolean isHorse()
public int getOrdinal()
public static HorseType getArmorType(int armorID)
public ResourceLocation getLootTable()