Enum Class AnimalArmorItem.Type

java.lang.Object
java.lang.Enum<AnimalArmorItem.Type>
net.minecraft.item.AnimalArmorItem.Type
All Implemented Interfaces:
Serializable, Comparable<AnimalArmorItem.Type>, Constable
Enclosing class:
AnimalArmorItem

public static enum AnimalArmorItem.Type extends Enum<AnimalArmorItem.Type>
Mappings:
Namespace Name
official cqn$a
intermediary net/minecraft/class_4059$class_9076
named net/minecraft/item/AnimalArmorItem$Type
  • Enum Constant Details

    • EQUESTRIAN

      public static final AnimalArmorItem.Type EQUESTRIAN
      Mappings:
      Namespace Name Mixin selector
      official a Lcqn$a;a:Lcqn$a;
      intermediary field_47825 Lnet/minecraft/class_4059$class_9076;field_47825:Lnet/minecraft/class_4059$class_9076;
      named EQUESTRIAN Lnet/minecraft/item/AnimalArmorItem$Type;EQUESTRIAN:Lnet/minecraft/item/AnimalArmorItem$Type;
    • CANINE

      public static final AnimalArmorItem.Type CANINE
      Mappings:
      Namespace Name Mixin selector
      official b Lcqn$a;b:Lcqn$a;
      intermediary field_47826 Lnet/minecraft/class_4059$class_9076;field_47826:Lnet/minecraft/class_4059$class_9076;
      named CANINE Lnet/minecraft/item/AnimalArmorItem$Type;CANINE:Lnet/minecraft/item/AnimalArmorItem$Type;
  • Field Details

    • textureIdFunction

      final Function<Identifier,Identifier> textureIdFunction
      Mappings:
      Namespace Name Mixin selector
      official c Lcqn$a;c:Ljava/util/function/Function;
      intermediary field_47827 Lnet/minecraft/class_4059$class_9076;field_47827:Ljava/util/function/Function;
      named textureIdFunction Lnet/minecraft/item/AnimalArmorItem$Type;textureIdFunction:Ljava/util/function/Function;
    • breakSound

      final SoundEvent breakSound
      Mappings:
      Namespace Name Mixin selector
      official d Lcqn$a;d:Lavb;
      intermediary field_49256 Lnet/minecraft/class_4059$class_9076;field_49256:Lnet/minecraft/class_3414;
      named breakSound Lnet/minecraft/item/AnimalArmorItem$Type;breakSound:Lnet/minecraft/sound/SoundEvent;
  • Constructor Details

    • Type

      private Type(Function<Identifier,Identifier> textureIdFunction, SoundEvent breakSound)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcqn$a;<init>(Ljava/lang/String;ILjava/util/function/Function;Lavb;)V
      intermediary <init> Lnet/minecraft/class_4059$class_9076;<init>(Ljava/lang/String;ILjava/util/function/Function;Lnet/minecraft/class_3414;)V
      named <init> Lnet/minecraft/item/AnimalArmorItem$Type;<init>(Ljava/lang/String;ILjava/util/function/Function;Lnet/minecraft/sound/SoundEvent;)V
  • Method Details

    • values

      public static AnimalArmorItem.Type[] 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 AnimalArmorItem.Type 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