Package net.minecraft.item
Enum Class ArmorItem.Type
- All Implemented Interfaces:
Serializable,Comparable<ArmorItem.Type>,Constable
- Enclosing class:
ArmorItem
- Mappings:
Namespace Name official cgg$aintermediary net/minecraft/class_1738$class_8051named net/minecraft/item/ArmorItem$Type
-
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()static ArmorItem.TypeReturns the enum constant of this class with the specified name.static ArmorItem.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HELMET
- Mappings:
Namespace Name Mixin selector official aLcgg$a;a:Lcgg$a;intermediary field_41934Lnet/minecraft/class_1738$class_8051;field_41934:Lnet/minecraft/class_1738$class_8051;named HELMETLnet/minecraft/item/ArmorItem$Type;HELMET:Lnet/minecraft/item/ArmorItem$Type;
-
CHESTPLATE
- Mappings:
Namespace Name Mixin selector official bLcgg$a;b:Lcgg$a;intermediary field_41935Lnet/minecraft/class_1738$class_8051;field_41935:Lnet/minecraft/class_1738$class_8051;named CHESTPLATELnet/minecraft/item/ArmorItem$Type;CHESTPLATE:Lnet/minecraft/item/ArmorItem$Type;
-
LEGGINGS
- Mappings:
Namespace Name Mixin selector official cLcgg$a;c:Lcgg$a;intermediary field_41936Lnet/minecraft/class_1738$class_8051;field_41936:Lnet/minecraft/class_1738$class_8051;named LEGGINGSLnet/minecraft/item/ArmorItem$Type;LEGGINGS:Lnet/minecraft/item/ArmorItem$Type;
-
BOOTS
- Mappings:
Namespace Name Mixin selector official dLcgg$a;d:Lcgg$a;intermediary field_41937Lnet/minecraft/class_1738$class_8051;field_41937:Lnet/minecraft/class_1738$class_8051;named BOOTSLnet/minecraft/item/ArmorItem$Type;BOOTS:Lnet/minecraft/item/ArmorItem$Type;
-
-
Field Details
-
equipmentSlot
- Mappings:
Namespace Name Mixin selector official eLcgg$a;e:Lbil;intermediary field_41938Lnet/minecraft/class_1738$class_8051;field_41938:Lnet/minecraft/class_1304;named equipmentSlotLnet/minecraft/item/ArmorItem$Type;equipmentSlot:Lnet/minecraft/entity/EquipmentSlot;
-
name
- Mappings:
Namespace Name Mixin selector official fLcgg$a;f:Ljava/lang/String;intermediary field_41939Lnet/minecraft/class_1738$class_8051;field_41939:Ljava/lang/String;named nameLnet/minecraft/item/ArmorItem$Type;name:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lcgg$a;<init>(Ljava/lang/String;ILbil;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1738$class_8051;<init>(Ljava/lang/String;ILnet/minecraft/class_1304;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/item/ArmorItem$Type;<init>(Ljava/lang/String;ILnet/minecraft/entity/EquipmentSlot;Ljava/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
-
getEquipmentSlot
- Mappings:
Namespace Name Mixin selector official aLcgg$a;a()Lbil;intermediary method_48399Lnet/minecraft/class_1738$class_8051;method_48399()Lnet/minecraft/class_1304;named getEquipmentSlotLnet/minecraft/item/ArmorItem$Type;getEquipmentSlot()Lnet/minecraft/entity/EquipmentSlot;
-
getName
- Mappings:
Namespace Name Mixin selector official bLcgg$a;b()Ljava/lang/String;intermediary method_48400Lnet/minecraft/class_1738$class_8051;method_48400()Ljava/lang/String;named getNameLnet/minecraft/item/ArmorItem$Type;getName()Ljava/lang/String;
-