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$HatTypeintermediary net/minecraft/class_3888$class_3889official iea$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<VillagerResourceMetadata.HatType> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.Returns the enum constant of this class with the specified name.static VillagerResourceMetadata.HatType[]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 named NONELnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;NONE:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;intermediary field_17160Lnet/minecraft/class_3888$class_3889;field_17160:Lnet/minecraft/class_3888$class_3889;official aLiea$a;a:Liea$a;
-
PARTIAL
- Mappings:
Namespace Name Mixin selector named PARTIALLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;PARTIAL:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;intermediary field_17161Lnet/minecraft/class_3888$class_3889;field_17161:Lnet/minecraft/class_3888$class_3889;official bLiea$a;b:Liea$a;
-
FULL
- Mappings:
Namespace Name Mixin selector named FULLLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;FULL:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;intermediary field_17162Lnet/minecraft/class_3888$class_3889;field_17162:Lnet/minecraft/class_3888$class_3889;official cLiea$a;c:Liea$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;CODEC:Lcom/mojang/serialization/Codec;intermediary field_55540Lnet/minecraft/class_3888$class_3889;field_55540:Lcom/mojang/serialization/Codec;official dLiea$a;d:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;name:Ljava/lang/String;intermediary field_17164Lnet/minecraft/class_3888$class_3889;field_17164:Ljava/lang/String;official eLiea$a;e:Ljava/lang/String;
-
-
Constructor Details
-
HatType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3888$class_3889;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Liea$a;<init>(Ljava/lang/String;ILjava/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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbgg;c()Ljava/lang/String;
-