Package net.minecraft.entity.player
Enum Class PlayerModelPart
- All Implemented Interfaces:
Serializable,Comparable<PlayerModelPart>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/player/PlayerModelPartintermediary net/minecraft/class_1664official czn
-
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 intstatic final com.mojang.serialization.Codec<PlayerModelPart> private final intprivate final Stringprivate final TextFields 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.intintgetId()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 aLczn;a:Lczn;
-
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 bLczn;b:Lczn;
-
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 cLczn;c:Lczn;
-
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 dLczn;d:Lczn;
-
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 eLczn;e:Lczn;
-
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 fLczn;f:Lczn;
-
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 gLczn;g:Lczn;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/entity/player/PlayerModelPart;CODEC:Lcom/mojang/serialization/Codec;intermediary field_62532Lnet/minecraft/class_1664;field_62532:Lcom/mojang/serialization/Codec;official hLczn;h:Lcom/mojang/serialization/Codec;
-
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 iLczn;i: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 jLczn;j: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 kLczn;k: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 lLczn;l:Lxx;
-
-
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>Lczn;<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 aLczn;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 bLczn;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 dLczn;d()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 eLczn;e()Lxx;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbgg;c()Ljava/lang/String;
-