Enum 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>,java.lang.constant.Constable
- Enclosing class:
- VillagerResourceMetadata
@Environment(CLIENT) public static enum VillagerResourceMetadata.HatType extends Enum<VillagerResourceMetadata.HatType>
- Mappings:
Namespace Name official euq$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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static VillagerResourceMetadata.HatTypefrom(String name)StringgetName()static VillagerResourceMetadata.HatTypevalueOf(String name)Returns the enum constant of this type with the specified name.static VillagerResourceMetadata.HatType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLeuq$a;a:Leuq$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 bLeuq$a;b:Leuq$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 cLeuq$a;c:Leuq$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
-
byName
- Mappings:
Namespace Name Mixin selector official dLeuq$a;d:Ljava/util/Map;intermediary field_17163Lnet/minecraft/class_3888$class_3889;field_17163:Ljava/util/Map;named byNameLnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;byName:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLeuq$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>Leuq$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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official aLeuq$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 aLeuq$a;a(Ljava/lang/String;)Leuq$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;
-