Package net.minecraft.entity.player
Enum Class PlayerSkinType
- All Implemented Interfaces:
Serializable,Comparable<PlayerSkinType>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/player/PlayerSkinTypeintermediary net/minecraft/class_7920official czo
-
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 static final Function<String, PlayerSkinType> static final com.mojang.serialization.Codec<PlayerSkinType> private final Stringprivate final Stringstatic final PacketCodec<ByteBuf, PlayerSkinType> 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.static PlayerSkinTypebyModelMetadata(@Nullable String modelMetadata) static PlayerSkinTypeReturns the enum constant of this class with the specified name.static PlayerSkinType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SLIM
- Mappings:
Namespace Name Mixin selector named SLIMLnet/minecraft/entity/player/PlayerSkinType;SLIM:Lnet/minecraft/entity/player/PlayerSkinType;intermediary field_41122Lnet/minecraft/class_7920;field_41122:Lnet/minecraft/class_7920;official aLczo;a:Lczo;
-
WIDE
- Mappings:
Namespace Name Mixin selector named WIDELnet/minecraft/entity/player/PlayerSkinType;WIDE:Lnet/minecraft/entity/player/PlayerSkinType;intermediary field_41123Lnet/minecraft/class_7920;field_41123:Lnet/minecraft/class_7920;official bLczo;b:Lczo;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/entity/player/PlayerSkinType;CODEC:Lcom/mojang/serialization/Codec;intermediary field_62533Lnet/minecraft/class_7920;field_62533:Lcom/mojang/serialization/Codec;official cLczo;c:Lcom/mojang/serialization/Codec;
-
BY_MODEL_METADATA
- Mappings:
Namespace Name Mixin selector named BY_MODEL_METADATALnet/minecraft/entity/player/PlayerSkinType;BY_MODEL_METADATA:Ljava/util/function/Function;intermediary field_62913Lnet/minecraft/class_7920;field_62913:Ljava/util/function/Function;official eLczo;e:Ljava/util/function/Function;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/entity/player/PlayerSkinType;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62534Lnet/minecraft/class_7920;field_62534:Lnet/minecraft/class_9139;official dLczo;d:Laae;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/entity/player/PlayerSkinType;name:Ljava/lang/String;intermediary field_41124Lnet/minecraft/class_7920;field_41124:Ljava/lang/String;official fLczo;f:Ljava/lang/String;
-
modelMetadata
- Mappings:
Namespace Name Mixin selector named modelMetadataLnet/minecraft/entity/player/PlayerSkinType;modelMetadata:Ljava/lang/String;intermediary field_62914Lnet/minecraft/class_7920;field_62914:Ljava/lang/String;official gLczo;g:Ljava/lang/String;
-
-
Constructor Details
-
PlayerSkinType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/player/PlayerSkinType;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7920;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vofficial <init>Lczo;<init>(Ljava/lang/String;ILjava/lang/String;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
-
byModelMetadata
- Mappings:
Namespace Name Mixin selector named byModelMetadataLnet/minecraft/entity/player/PlayerSkinType;byModelMetadata(Ljava/lang/String;)Lnet/minecraft/entity/player/PlayerSkinType;intermediary method_74671Lnet/minecraft/class_7920;method_74671(Ljava/lang/String;)Lnet/minecraft/class_7920;official aLczo;a(Ljava/lang/String;)Lczo;
-
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;
-