Package net.minecraft.item
Enum Class ArmorItem.Type
- All Implemented Interfaces:
Serializable
,Comparable<ArmorItem.Type>
,Constable
,StringIdentifiable
- Enclosing class:
ArmorItem
- Mappings:
Namespace Name official cnc$a
intermediary net/minecraft/class_1738$class_8051
named net/minecraft/item/ArmorItem$Type
-
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 TypeFieldDescriptionprivate final EquipmentSlot
static final com.mojang.serialization.Codec<ArmorItem.Type>
private final String
Fields 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.getName()
int
method_56690
(int int2) boolean
static ArmorItem.Type
Returns 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 a
Lcnc$a;a:Lcnc$a;
intermediary field_41934
Lnet/minecraft/class_1738$class_8051;field_41934:Lnet/minecraft/class_1738$class_8051;
named HELMET
Lnet/minecraft/item/ArmorItem$Type;HELMET:Lnet/minecraft/item/ArmorItem$Type;
-
CHESTPLATE
- Mappings:
Namespace Name Mixin selector official b
Lcnc$a;b:Lcnc$a;
intermediary field_41935
Lnet/minecraft/class_1738$class_8051;field_41935:Lnet/minecraft/class_1738$class_8051;
named CHESTPLATE
Lnet/minecraft/item/ArmorItem$Type;CHESTPLATE:Lnet/minecraft/item/ArmorItem$Type;
-
LEGGINGS
- Mappings:
Namespace Name Mixin selector official c
Lcnc$a;c:Lcnc$a;
intermediary field_41936
Lnet/minecraft/class_1738$class_8051;field_41936:Lnet/minecraft/class_1738$class_8051;
named LEGGINGS
Lnet/minecraft/item/ArmorItem$Type;LEGGINGS:Lnet/minecraft/item/ArmorItem$Type;
-
BOOTS
- Mappings:
Namespace Name Mixin selector official d
Lcnc$a;d:Lcnc$a;
intermediary field_41937
Lnet/minecraft/class_1738$class_8051;field_41937:Lnet/minecraft/class_1738$class_8051;
named BOOTS
Lnet/minecraft/item/ArmorItem$Type;BOOTS:Lnet/minecraft/item/ArmorItem$Type;
-
BODY
- Mappings:
Namespace Name Mixin selector official e
Lcnc$a;e:Lcnc$a;
intermediary field_48838
Lnet/minecraft/class_1738$class_8051;field_48838:Lnet/minecraft/class_1738$class_8051;
named BODY
Lnet/minecraft/item/ArmorItem$Type;BODY:Lnet/minecraft/item/ArmorItem$Type;
-
-
Field Details
-
field_48839
- Mappings:
Namespace Name Mixin selector official f
Lcnc$a;f:Lcom/mojang/serialization/Codec;
intermediary field_48839
Lnet/minecraft/class_1738$class_8051;field_48839:Lcom/mojang/serialization/Codec;
named field_48839
Lnet/minecraft/item/ArmorItem$Type;field_48839:Lcom/mojang/serialization/Codec;
-
equipmentSlot
- Mappings:
Namespace Name Mixin selector official g
Lcnc$a;g:Lbom;
intermediary field_41938
Lnet/minecraft/class_1738$class_8051;field_41938:Lnet/minecraft/class_1304;
named equipmentSlot
Lnet/minecraft/item/ArmorItem$Type;equipmentSlot:Lnet/minecraft/entity/EquipmentSlot;
-
name
- Mappings:
Namespace Name Mixin selector official h
Lcnc$a;h:Ljava/lang/String;
intermediary field_41939
Lnet/minecraft/class_1738$class_8051;field_41939:Ljava/lang/String;
named name
Lnet/minecraft/item/ArmorItem$Type;name:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lcnc$a;<init>(Ljava/lang/String;ILbom;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1738$class_8051;<init>(Ljava/lang/String;ILnet/minecraft/class_1304;Ljava/lang/String;)V
named <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
-
method_56690
public int method_56690(int int2) - Mappings:
Namespace Name Mixin selector official a
Lcnc$a;a(I)I
intermediary method_56690
Lnet/minecraft/class_1738$class_8051;method_56690(I)I
named method_56690
Lnet/minecraft/item/ArmorItem$Type;method_56690(I)I
-
getEquipmentSlot
- Mappings:
Namespace Name Mixin selector official a
Lcnc$a;a()Lbom;
intermediary method_48399
Lnet/minecraft/class_1738$class_8051;method_48399()Lnet/minecraft/class_1304;
named getEquipmentSlot
Lnet/minecraft/item/ArmorItem$Type;getEquipmentSlot()Lnet/minecraft/entity/EquipmentSlot;
-
getName
- Mappings:
Namespace Name Mixin selector official b
Lcnc$a;b()Ljava/lang/String;
intermediary method_48400
Lnet/minecraft/class_1738$class_8051;method_48400()Ljava/lang/String;
named getName
Lnet/minecraft/item/ArmorItem$Type;getName()Ljava/lang/String;
-
method_56691
public boolean method_56691()- Mappings:
Namespace Name Mixin selector official d
Lcnc$a;d()Z
intermediary method_56691
Lnet/minecraft/class_1738$class_8051;method_56691()Z
named method_56691
Lnet/minecraft/item/ArmorItem$Type;method_56691()Z
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Laxg;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-