Enum Class HorseArmorType

java.lang.Object
java.lang.Enum<HorseArmorType>
net.minecraft.util.HorseArmorType
All Implemented Interfaces:
Serializable, Comparable<HorseArmorType>, Constable

public enum HorseArmorType extends Enum<HorseArmorType>
Mappings:
Namespace Name
official aar
intermediary net/minecraft/class_2976
named net/minecraft/util/HorseArmorType
  • Enum Constant Details

    • NONE

      public static final HorseArmorType NONE
      Mappings:
      Namespace Name Mixin selector
      official a Laar;a:Laar;
      intermediary field_14638 Lnet/minecraft/class_2976;field_14638:Lnet/minecraft/class_2976;
      named NONE Lnet/minecraft/util/HorseArmorType;NONE:Lnet/minecraft/util/HorseArmorType;
    • IRON

      public static final HorseArmorType IRON
      Mappings:
      Namespace Name Mixin selector
      official b Laar;b:Laar;
      intermediary field_14639 Lnet/minecraft/class_2976;field_14639:Lnet/minecraft/class_2976;
      named IRON Lnet/minecraft/util/HorseArmorType;IRON:Lnet/minecraft/util/HorseArmorType;
    • GOLD

      public static final HorseArmorType GOLD
      Mappings:
      Namespace Name Mixin selector
      official c Laar;c:Laar;
      intermediary field_14640 Lnet/minecraft/class_2976;field_14640:Lnet/minecraft/class_2976;
      named GOLD Lnet/minecraft/util/HorseArmorType;GOLD:Lnet/minecraft/util/HorseArmorType;
    • DIAMOND

      public static final HorseArmorType DIAMOND
      Mappings:
      Namespace Name Mixin selector
      official d Laar;d:Laar;
      intermediary field_14641 Lnet/minecraft/class_2976;field_14641:Lnet/minecraft/class_2976;
      named DIAMOND Lnet/minecraft/util/HorseArmorType;DIAMOND:Lnet/minecraft/util/HorseArmorType;
  • Field Details

    • entityTexture

      private final String entityTexture
      Mappings:
      Namespace Name Mixin selector
      official e Laar;e:Ljava/lang/String;
      intermediary field_14642 Lnet/minecraft/class_2976;field_14642:Ljava/lang/String;
      named entityTexture Lnet/minecraft/util/HorseArmorType;entityTexture:Ljava/lang/String;
    • field_14643

      private final String field_14643
      Mappings:
      Namespace Name Mixin selector
      official f Laar;f:Ljava/lang/String;
      intermediary field_14643 Lnet/minecraft/class_2976;field_14643:Ljava/lang/String;
      named field_14643 Lnet/minecraft/util/HorseArmorType;field_14643:Ljava/lang/String;
    • bonus

      private final int bonus
      Mappings:
      Namespace Name Mixin selector
      official g Laar;g:I
      intermediary field_14644 Lnet/minecraft/class_2976;field_14644:I
      named bonus Lnet/minecraft/util/HorseArmorType;bonus:I
  • Constructor Details

    • HorseArmorType

      private HorseArmorType(int bonus)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laar;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_2976;<init>(Ljava/lang/String;II)V
      named <init> Lnet/minecraft/util/HorseArmorType;<init>(Ljava/lang/String;II)V
    • HorseArmorType

      private HorseArmorType(int bonus, String name, String string)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laar;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2976;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/util/HorseArmorType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static HorseArmorType[] 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

      public static HorseArmorType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • method_13134

      public int method_13134()
      Mappings:
      Namespace Name Mixin selector
      official a Laar;a()I
      intermediary method_13134 Lnet/minecraft/class_2976;method_13134()I
      named method_13134 Lnet/minecraft/util/HorseArmorType;method_13134()I
    • method_13138

      @Environment(CLIENT) public String method_13138()
      Mappings:
      Namespace Name Mixin selector
      official b Laar;b()Ljava/lang/String;
      intermediary method_13138 Lnet/minecraft/class_2976;method_13138()Ljava/lang/String;
      named method_13138 Lnet/minecraft/util/HorseArmorType;method_13138()Ljava/lang/String;
    • getBonus

      public int getBonus()
      Mappings:
      Namespace Name Mixin selector
      official c Laar;c()I
      intermediary method_13140 Lnet/minecraft/class_2976;method_13140()I
      named getBonus Lnet/minecraft/util/HorseArmorType;getBonus()I
    • getEntityTexture

      @Environment(CLIENT) @Nullable public String getEntityTexture()
      Mappings:
      Namespace Name Mixin selector
      official d Laar;d()Ljava/lang/String;
      intermediary method_13141 Lnet/minecraft/class_2976;method_13141()Ljava/lang/String;
      named getEntityTexture Lnet/minecraft/util/HorseArmorType;getEntityTexture()Ljava/lang/String;
    • method_13135

      public static HorseArmorType method_13135(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Laar;a(I)Laar;
      intermediary method_13135 Lnet/minecraft/class_2976;method_13135(I)Lnet/minecraft/class_2976;
      named method_13135 Lnet/minecraft/util/HorseArmorType;method_13135(I)Lnet/minecraft/util/HorseArmorType;
    • method_13137

      public static HorseArmorType method_13137(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Laar;a(Laip;)Laar;
      intermediary method_13137 Lnet/minecraft/class_2976;method_13137(Lnet/minecraft/class_1071;)Lnet/minecraft/class_2976;
      named method_13137 Lnet/minecraft/util/HorseArmorType;method_13137(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/HorseArmorType;
    • method_13136

      public static HorseArmorType method_13136(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Laar;a(Lain;)Laar;
      intermediary method_13136 Lnet/minecraft/class_2976;method_13136(Lnet/minecraft/class_1069;)Lnet/minecraft/class_2976;
      named method_13136 Lnet/minecraft/util/HorseArmorType;method_13136(Lnet/minecraft/item/Item;)Lnet/minecraft/util/HorseArmorType;
    • method_13139

      public static boolean method_13139(Item item)
      Mappings:
      Namespace Name Mixin selector
      official b Laar;b(Lain;)Z
      intermediary method_13139 Lnet/minecraft/class_2976;method_13139(Lnet/minecraft/class_1069;)Z
      named method_13139 Lnet/minecraft/util/HorseArmorType;method_13139(Lnet/minecraft/item/Item;)Z