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 gai$aintermediary net/minecraft/class_3888$class_3889named net/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()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 official aLgai$a;a:Lgai$a;intermediary field_17160Lnet/minecraft/class_3888$class_3889;field_17160:Lnet/minecraft/class_3888$class_3889;named NONELnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;NONE:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
-
PARTIAL
- Mappings:
Namespace Name Mixin selector official bLgai$a;b:Lgai$a;intermediary field_17161Lnet/minecraft/class_3888$class_3889;field_17161:Lnet/minecraft/class_3888$class_3889;named PARTIALLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;PARTIAL:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
-
FULL
- Mappings:
Namespace Name Mixin selector official cLgai$a;c:Lgai$a;intermediary field_17162Lnet/minecraft/class_3888$class_3889;field_17162:Lnet/minecraft/class_3888$class_3889;named FULLLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;FULL:Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
-
-
Field Details
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official dLgai$a;d:Ljava/util/Map;intermediary field_17163Lnet/minecraft/class_3888$class_3889;field_17163:Ljava/util/Map;named BY_NAMELnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLgai$a;e:Ljava/lang/String;intermediary field_17164Lnet/minecraft/class_3888$class_3889;field_17164:Ljava/lang/String;named nameLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;name:Ljava/lang/String;
-
-
Constructor Details
-
HatType
- Mappings:
Namespace Name Mixin selector official <init>Lgai$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3888$class_3889;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;<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
-
getName
- Mappings:
Namespace Name Mixin selector official aLgai$a;a()Ljava/lang/String;intermediary method_17168Lnet/minecraft/class_3888$class_3889;method_17168()Ljava/lang/String;named getNameLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;getName()Ljava/lang/String;
-
from
- Mappings:
Namespace Name Mixin selector official aLgai$a;a(Ljava/lang/String;)Lgai$a;intermediary method_17170Lnet/minecraft/class_3888$class_3889;method_17170(Ljava/lang/String;)Lnet/minecraft/class_3888$class_3889;named fromLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;from(Ljava/lang/String;)Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
-