Package org.bukkit.entity
Enum Horse.Variant
- All Implemented Interfaces:
- Serializable,- Comparable<Horse.Variant>,- java.lang.constant.Constable
- Enclosing interface:
- Horse
Deprecated.
different variants are differing classes
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDeprecated.A donkeyDeprecated.A normal horseDeprecated.Not really a horse :)Deprecated.A muleDeprecated.A skeleton horseDeprecated.An undead horse
- 
Method SummaryModifier and TypeMethodDescriptionstatic Horse.VariantDeprecated.Returns the enum constant of this type with the specified name.static Horse.Variant[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
HORSEDeprecated.A normal horse
- 
DONKEYDeprecated.A donkey
- 
MULEDeprecated.A mule
- 
UNDEAD_HORSEDeprecated.An undead horse
- 
SKELETON_HORSEDeprecated.A skeleton horse
- 
LLAMADeprecated.Not really a horse :)
 
- 
- 
Method Details- 
valuesDeprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfDeprecated.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 name
- NullPointerException- if the argument is null
 
 
-