Enum Class VillagerResourceMetadata.HatType

java.lang.Object
java.lang.Enum<VillagerResourceMetadata.HatType>
net.minecraft.client.render.entity.feature.VillagerResourceMetadata.HatType
All Implemented Interfaces:
Serializable, Comparable<VillagerResourceMetadata.HatType>, Constable
Enclosing class:
VillagerResourceMetadata

@Environment(CLIENT) public static enum VillagerResourceMetadata.HatType extends Enum<VillagerResourceMetadata.HatType>
Mappings:
Namespace Name
official fpw$a
intermediary net/minecraft/class_3888$class_3889
named net/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType
  • Enum Constant Details

    • NONE

      public static final VillagerResourceMetadata.HatType NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lfpw$a;a:Lfpw$a;
      intermediary field_17160 Lnet/minecraft/class_3888$class_3889;field_17160:Lnet/minecraft/class_3888$class_3889;
      named NONE Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;NONE:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
    • PARTIAL

      public static final VillagerResourceMetadata.HatType PARTIAL
      Mappings:
      Namespace Name Mixin selector
      official b Lfpw$a;b:Lfpw$a;
      intermediary field_17161 Lnet/minecraft/class_3888$class_3889;field_17161:Lnet/minecraft/class_3888$class_3889;
      named PARTIAL Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;PARTIAL:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
    • FULL

      public static final VillagerResourceMetadata.HatType FULL
      Mappings:
      Namespace Name Mixin selector
      official c Lfpw$a;c:Lfpw$a;
      intermediary field_17162 Lnet/minecraft/class_3888$class_3889;field_17162:Lnet/minecraft/class_3888$class_3889;
      named FULL Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;FULL:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
  • Field Details

    • BY_NAME

      private static final Map<String,VillagerResourceMetadata.HatType> BY_NAME
      Mappings:
      Namespace Name Mixin selector
      official d Lfpw$a;d:Ljava/util/Map;
      intermediary field_17163 Lnet/minecraft/class_3888$class_3889;field_17163:Ljava/util/Map;
      named BY_NAME Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;BY_NAME:Ljava/util/Map;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official e Lfpw$a;e:Ljava/lang/String;
      intermediary field_17164 Lnet/minecraft/class_3888$class_3889;field_17164:Ljava/lang/String;
      named name Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;name:Ljava/lang/String;
  • Constructor Details

    • HatType

      private HatType(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfpw$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3888$class_3889;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static VillagerResourceMetadata.HatType[] 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 VillagerResourceMetadata.HatType 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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lfpw$a;a()Ljava/lang/String;
      intermediary method_17168 Lnet/minecraft/class_3888$class_3889;method_17168()Ljava/lang/String;
      named getName Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;getName()Ljava/lang/String;
    • from

      public static VillagerResourceMetadata.HatType from(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lfpw$a;a(Ljava/lang/String;)Lfpw$a;
      intermediary method_17170 Lnet/minecraft/class_3888$class_3889;method_17170(Ljava/lang/String;)Lnet/minecraft/class_3888$class_3889;
      named from Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;from(Ljava/lang/String;)Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;