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, StringIdentifiable
Enclosing class:
VillagerResourceMetadata

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

    • NONE

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

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

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

    • CODEC

      public static final com.mojang.serialization.Codec<VillagerResourceMetadata.HatType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_55540 Lnet/minecraft/class_3888$class_3889;field_55540:Lcom/mojang/serialization/Codec;
      official d Lhgi$a;d:Lcom/mojang/serialization/Codec;
    • name

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

    • HatType

      private HatType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3888$class_3889;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lhgi$a;<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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazv;c()Ljava/lang/String;