Enum Class PlayerSkinType

java.lang.Object
java.lang.Enum<PlayerSkinType>
net.minecraft.entity.player.PlayerSkinType
All Implemented Interfaces:
Serializable, Comparable<PlayerSkinType>, Constable, StringIdentifiable

public enum PlayerSkinType extends Enum<PlayerSkinType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/player/PlayerSkinType
intermediary net/minecraft/class_7920
official czk
  • Enum Constant Details

    • SLIM

      public static final PlayerSkinType SLIM
      Mappings:
      Namespace Name Mixin selector
      named SLIM Lnet/minecraft/entity/player/PlayerSkinType;SLIM:Lnet/minecraft/entity/player/PlayerSkinType;
      intermediary field_41122 Lnet/minecraft/class_7920;field_41122:Lnet/minecraft/class_7920;
      official a Lczk;a:Lczk;
    • WIDE

      public static final PlayerSkinType WIDE
      Mappings:
      Namespace Name Mixin selector
      named WIDE Lnet/minecraft/entity/player/PlayerSkinType;WIDE:Lnet/minecraft/entity/player/PlayerSkinType;
      intermediary field_41123 Lnet/minecraft/class_7920;field_41123:Lnet/minecraft/class_7920;
      official b Lczk;b:Lczk;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<PlayerSkinType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/player/PlayerSkinType;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_62533 Lnet/minecraft/class_7920;field_62533:Lcom/mojang/serialization/Codec;
      official c Lczk;c:Lcom/mojang/serialization/Codec;
    • field_62913

      private static final Function<String,PlayerSkinType> field_62913
      Mappings:
      Namespace Name Mixin selector
      named field_62913 Lnet/minecraft/entity/player/PlayerSkinType;field_62913:Ljava/util/function/Function;
      intermediary field_62913 Lnet/minecraft/class_7920;field_62913:Ljava/util/function/Function;
      official e Lczk;e:Ljava/util/function/Function;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,PlayerSkinType> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/entity/player/PlayerSkinType;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_62534 Lnet/minecraft/class_7920;field_62534:Lnet/minecraft/class_9139;
      official d Lczk;d:Laae;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/player/PlayerSkinType;name:Ljava/lang/String;
      intermediary field_41124 Lnet/minecraft/class_7920;field_41124:Ljava/lang/String;
      official f Lczk;f:Ljava/lang/String;
    • field_62914

      private final String field_62914
      Mappings:
      Namespace Name Mixin selector
      named field_62914 Lnet/minecraft/entity/player/PlayerSkinType;field_62914:Ljava/lang/String;
      intermediary field_62914 Lnet/minecraft/class_7920;field_62914:Ljava/lang/String;
      official g Lczk;g:Ljava/lang/String;
  • Constructor Details

    • PlayerSkinType

      private PlayerSkinType(String name, String string)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/player/PlayerSkinType;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7920;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
      official <init> Lczk;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static PlayerSkinType[] 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

      public static PlayerSkinType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • method_74671

      public static PlayerSkinType method_74671(@Nullable @Nullable String string)
      Mappings:
      Namespace Name Mixin selector
      named method_74671 Lnet/minecraft/entity/player/PlayerSkinType;method_74671(Ljava/lang/String;)Lnet/minecraft/entity/player/PlayerSkinType;
      intermediary method_74671 Lnet/minecraft/class_7920;method_74671(Ljava/lang/String;)Lnet/minecraft/class_7920;
      official a Lczk;a(Ljava/lang/String;)Lczk;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbgd;c()Ljava/lang/String;