Package net.minecraft.util
Enum Class HorseArmorType
- All Implemented Interfaces:
Serializable,Comparable<HorseArmorType>,Constable
- Mappings:
Namespace Name official wlintermediary net/minecraft/class_2976named net/minecraft/util/HorseArmorType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateHorseArmorType(int bonus) privateHorseArmorType(int bonus, String name, String string) -
Method Summary
Modifier and TypeMethodDescriptionintgetBonus()intstatic HorseArmorTypemethod_13135(int int2) static HorseArmorTypemethod_13136(Item item) static HorseArmorTypemethod_13137(ItemStack itemStack) static booleanmethod_13139(Item item) static HorseArmorTypeReturns the enum constant of this class with the specified name.static HorseArmorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLwl;a:Lwl;intermediary field_14638Lnet/minecraft/class_2976;field_14638:Lnet/minecraft/class_2976;named NONELnet/minecraft/util/HorseArmorType;NONE:Lnet/minecraft/util/HorseArmorType;
-
IRON
- Mappings:
Namespace Name Mixin selector official bLwl;b:Lwl;intermediary field_14639Lnet/minecraft/class_2976;field_14639:Lnet/minecraft/class_2976;named IRONLnet/minecraft/util/HorseArmorType;IRON:Lnet/minecraft/util/HorseArmorType;
-
GOLD
- Mappings:
Namespace Name Mixin selector official cLwl;c:Lwl;intermediary field_14640Lnet/minecraft/class_2976;field_14640:Lnet/minecraft/class_2976;named GOLDLnet/minecraft/util/HorseArmorType;GOLD:Lnet/minecraft/util/HorseArmorType;
-
DIAMOND
- Mappings:
Namespace Name Mixin selector official dLwl;d:Lwl;intermediary field_14641Lnet/minecraft/class_2976;field_14641:Lnet/minecraft/class_2976;named DIAMONDLnet/minecraft/util/HorseArmorType;DIAMOND:Lnet/minecraft/util/HorseArmorType;
-
-
Field Details
-
entityTexture
- Mappings:
Namespace Name Mixin selector official eLwl;e:Ljava/lang/String;intermediary field_14642Lnet/minecraft/class_2976;field_14642:Ljava/lang/String;named entityTextureLnet/minecraft/util/HorseArmorType;entityTexture:Ljava/lang/String;
-
field_14643
- Mappings:
Namespace Name Mixin selector official fLwl;f:Ljava/lang/String;intermediary field_14643Lnet/minecraft/class_2976;field_14643:Ljava/lang/String;named field_14643Lnet/minecraft/util/HorseArmorType;field_14643:Ljava/lang/String;
-
bonus
private final int bonus- Mappings:
Namespace Name Mixin selector official gLwl;g:Iintermediary field_14644Lnet/minecraft/class_2976;field_14644:Inamed bonusLnet/minecraft/util/HorseArmorType;bonus:I
-
-
Constructor Details
-
HorseArmorType
private HorseArmorType(int bonus) - Mappings:
Namespace Name Mixin selector official <init>Lwl;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_2976;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/util/HorseArmorType;<init>(Ljava/lang/String;II)V
-
HorseArmorType
- Mappings:
Namespace Name Mixin selector official <init>Lwl;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2976;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/util/HorseArmorType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
method_13134
public int method_13134()- Mappings:
Namespace Name Mixin selector official aLwl;a()Iintermediary method_13134Lnet/minecraft/class_2976;method_13134()Inamed method_13134Lnet/minecraft/util/HorseArmorType;method_13134()I
-
method_13138
- Mappings:
Namespace Name Mixin selector official bLwl;b()Ljava/lang/String;intermediary method_13138Lnet/minecraft/class_2976;method_13138()Ljava/lang/String;named method_13138Lnet/minecraft/util/HorseArmorType;method_13138()Ljava/lang/String;
-
getBonus
public int getBonus()- Mappings:
Namespace Name Mixin selector official cLwl;c()Iintermediary method_13140Lnet/minecraft/class_2976;method_13140()Inamed getBonusLnet/minecraft/util/HorseArmorType;getBonus()I
-
getEntityTexture
- Mappings:
Namespace Name Mixin selector official dLwl;d()Ljava/lang/String;intermediary method_13141Lnet/minecraft/class_2976;method_13141()Ljava/lang/String;named getEntityTextureLnet/minecraft/util/HorseArmorType;getEntityTexture()Ljava/lang/String;
-
method_13135
- Mappings:
Namespace Name Mixin selector official aLwl;a(I)Lwl;intermediary method_13135Lnet/minecraft/class_2976;method_13135(I)Lnet/minecraft/class_2976;named method_13135Lnet/minecraft/util/HorseArmorType;method_13135(I)Lnet/minecraft/util/HorseArmorType;
-
method_13137
- Mappings:
Namespace Name Mixin selector official aLwl;a(Ladq;)Lwl;intermediary method_13137Lnet/minecraft/class_2976;method_13137(Lnet/minecraft/class_1071;)Lnet/minecraft/class_2976;named method_13137Lnet/minecraft/util/HorseArmorType;method_13137(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/HorseArmorType;
-
method_13136
- Mappings:
Namespace Name Mixin selector official aLwl;a(Lado;)Lwl;intermediary method_13136Lnet/minecraft/class_2976;method_13136(Lnet/minecraft/class_1069;)Lnet/minecraft/class_2976;named method_13136Lnet/minecraft/util/HorseArmorType;method_13136(Lnet/minecraft/item/Item;)Lnet/minecraft/util/HorseArmorType;
-
method_13139
- Mappings:
Namespace Name Mixin selector official bLwl;b(Lado;)Zintermediary method_13139Lnet/minecraft/class_2976;method_13139(Lnet/minecraft/class_1069;)Znamed method_13139Lnet/minecraft/util/HorseArmorType;method_13139(Lnet/minecraft/item/Item;)Z
-