Package net.minecraft.entity.player
Enum Class PlayerModelPart
- All Implemented Interfaces:
Serializable,Comparable<PlayerModelPart>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/player/PlayerModelPartintermediary net/minecraft/class_1664official cro
-
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 TypeMethodDescriptionintintgetId()getName()static PlayerModelPartReturns the enum constant of this class with the specified name.static PlayerModelPart[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAPE
- Mappings:
Namespace Name Mixin selector named CAPELnet/minecraft/entity/player/PlayerModelPart;CAPE:Lnet/minecraft/entity/player/PlayerModelPart;intermediary field_7559Lnet/minecraft/class_1664;field_7559:Lnet/minecraft/class_1664;official aLcro;a:Lcro;
-
JACKET
- Mappings:
Namespace Name Mixin selector named JACKETLnet/minecraft/entity/player/PlayerModelPart;JACKET:Lnet/minecraft/entity/player/PlayerModelPart;intermediary field_7564Lnet/minecraft/class_1664;field_7564:Lnet/minecraft/class_1664;official bLcro;b:Lcro;
-
LEFT_SLEEVE
- Mappings:
Namespace Name Mixin selector named LEFT_SLEEVELnet/minecraft/entity/player/PlayerModelPart;LEFT_SLEEVE:Lnet/minecraft/entity/player/PlayerModelPart;intermediary field_7568Lnet/minecraft/class_1664;field_7568:Lnet/minecraft/class_1664;official cLcro;c:Lcro;
-
RIGHT_SLEEVE
- Mappings:
Namespace Name Mixin selector named RIGHT_SLEEVELnet/minecraft/entity/player/PlayerModelPart;RIGHT_SLEEVE:Lnet/minecraft/entity/player/PlayerModelPart;intermediary field_7570Lnet/minecraft/class_1664;field_7570:Lnet/minecraft/class_1664;official dLcro;d:Lcro;
-
LEFT_PANTS_LEG
- Mappings:
Namespace Name Mixin selector named LEFT_PANTS_LEGLnet/minecraft/entity/player/PlayerModelPart;LEFT_PANTS_LEG:Lnet/minecraft/entity/player/PlayerModelPart;intermediary field_7566Lnet/minecraft/class_1664;field_7566:Lnet/minecraft/class_1664;official eLcro;e:Lcro;
-
RIGHT_PANTS_LEG
- Mappings:
Namespace Name Mixin selector named RIGHT_PANTS_LEGLnet/minecraft/entity/player/PlayerModelPart;RIGHT_PANTS_LEG:Lnet/minecraft/entity/player/PlayerModelPart;intermediary field_7565Lnet/minecraft/class_1664;field_7565:Lnet/minecraft/class_1664;official fLcro;f:Lcro;
-
HAT
- Mappings:
Namespace Name Mixin selector named HATLnet/minecraft/entity/player/PlayerModelPart;HAT:Lnet/minecraft/entity/player/PlayerModelPart;intermediary field_7563Lnet/minecraft/class_1664;field_7563:Lnet/minecraft/class_1664;official gLcro;g:Lcro;
-
-
Field Details
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/entity/player/PlayerModelPart;id:Iintermediary field_7561Lnet/minecraft/class_1664;field_7561:Iofficial hLcro;h:I
-
bitFlag
private final int bitFlag- Mappings:
Namespace Name Mixin selector named bitFlagLnet/minecraft/entity/player/PlayerModelPart;bitFlag:Iintermediary field_7560Lnet/minecraft/class_1664;field_7560:Iofficial iLcro;i:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/entity/player/PlayerModelPart;name:Ljava/lang/String;intermediary field_7569Lnet/minecraft/class_1664;field_7569:Ljava/lang/String;official jLcro;j:Ljava/lang/String;
-
optionName
- Mappings:
Namespace Name Mixin selector named optionNameLnet/minecraft/entity/player/PlayerModelPart;optionName:Lnet/minecraft/text/Text;intermediary field_7567Lnet/minecraft/class_1664;field_7567:Lnet/minecraft/class_2561;official kLcro;k:Lwy;
-
-
Constructor Details
-
PlayerModelPart
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/player/PlayerModelPart;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1664;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lcro;<init>(Ljava/lang/String;IILjava/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
-
getBitFlag
public int getBitFlag()- Mappings:
Namespace Name Mixin selector named getBitFlagLnet/minecraft/entity/player/PlayerModelPart;getBitFlag()Iintermediary method_7430Lnet/minecraft/class_1664;method_7430()Iofficial aLcro;a()I
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/entity/player/PlayerModelPart;getId()Iintermediary method_35206Lnet/minecraft/class_1664;method_35206()Iofficial bLcro;b()I
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/entity/player/PlayerModelPart;getName()Ljava/lang/String;intermediary method_7429Lnet/minecraft/class_1664;method_7429()Ljava/lang/String;official cLcro;c()Ljava/lang/String;
-
getOptionName
- Mappings:
Namespace Name Mixin selector named getOptionNameLnet/minecraft/entity/player/PlayerModelPart;getOptionName()Lnet/minecraft/text/Text;intermediary method_7428Lnet/minecraft/class_1664;method_7428()Lnet/minecraft/class_2561;official dLcro;d()Lwy;
-