Enum Class PlayerModelPart

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

public enum PlayerModelPart extends Enum<PlayerModelPart>
Mappings:
Namespace Name
named net/minecraft/entity/player/PlayerModelPart
intermediary net/minecraft/class_1664
official cpx
  • Enum Constant Details

    • CAPE

      public static final PlayerModelPart CAPE
      Mappings:
      Namespace Name Mixin selector
      named CAPE Lnet/minecraft/entity/player/PlayerModelPart;CAPE:Lnet/minecraft/entity/player/PlayerModelPart;
      intermediary field_7559 Lnet/minecraft/class_1664;field_7559:Lnet/minecraft/class_1664;
      official a Lcpx;a:Lcpx;
    • JACKET

      public static final PlayerModelPart JACKET
      Mappings:
      Namespace Name Mixin selector
      named JACKET Lnet/minecraft/entity/player/PlayerModelPart;JACKET:Lnet/minecraft/entity/player/PlayerModelPart;
      intermediary field_7564 Lnet/minecraft/class_1664;field_7564:Lnet/minecraft/class_1664;
      official b Lcpx;b:Lcpx;
    • LEFT_SLEEVE

      public static final PlayerModelPart LEFT_SLEEVE
      Mappings:
      Namespace Name Mixin selector
      named LEFT_SLEEVE Lnet/minecraft/entity/player/PlayerModelPart;LEFT_SLEEVE:Lnet/minecraft/entity/player/PlayerModelPart;
      intermediary field_7568 Lnet/minecraft/class_1664;field_7568:Lnet/minecraft/class_1664;
      official c Lcpx;c:Lcpx;
    • RIGHT_SLEEVE

      public static final PlayerModelPart RIGHT_SLEEVE
      Mappings:
      Namespace Name Mixin selector
      named RIGHT_SLEEVE Lnet/minecraft/entity/player/PlayerModelPart;RIGHT_SLEEVE:Lnet/minecraft/entity/player/PlayerModelPart;
      intermediary field_7570 Lnet/minecraft/class_1664;field_7570:Lnet/minecraft/class_1664;
      official d Lcpx;d:Lcpx;
    • LEFT_PANTS_LEG

      public static final PlayerModelPart LEFT_PANTS_LEG
      Mappings:
      Namespace Name Mixin selector
      named LEFT_PANTS_LEG Lnet/minecraft/entity/player/PlayerModelPart;LEFT_PANTS_LEG:Lnet/minecraft/entity/player/PlayerModelPart;
      intermediary field_7566 Lnet/minecraft/class_1664;field_7566:Lnet/minecraft/class_1664;
      official e Lcpx;e:Lcpx;
    • RIGHT_PANTS_LEG

      public static final PlayerModelPart RIGHT_PANTS_LEG
      Mappings:
      Namespace Name Mixin selector
      named RIGHT_PANTS_LEG Lnet/minecraft/entity/player/PlayerModelPart;RIGHT_PANTS_LEG:Lnet/minecraft/entity/player/PlayerModelPart;
      intermediary field_7565 Lnet/minecraft/class_1664;field_7565:Lnet/minecraft/class_1664;
      official f Lcpx;f:Lcpx;
    • HAT

      public static final PlayerModelPart HAT
      Mappings:
      Namespace Name Mixin selector
      named HAT Lnet/minecraft/entity/player/PlayerModelPart;HAT:Lnet/minecraft/entity/player/PlayerModelPart;
      intermediary field_7563 Lnet/minecraft/class_1664;field_7563:Lnet/minecraft/class_1664;
      official g Lcpx;g:Lcpx;
  • Field Details

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/player/PlayerModelPart;id:I
      intermediary field_7561 Lnet/minecraft/class_1664;field_7561:I
      official h Lcpx;h:I
    • bitFlag

      private final int bitFlag
      Mappings:
      Namespace Name Mixin selector
      named bitFlag Lnet/minecraft/entity/player/PlayerModelPart;bitFlag:I
      intermediary field_7560 Lnet/minecraft/class_1664;field_7560:I
      official i Lcpx;i:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/player/PlayerModelPart;name:Ljava/lang/String;
      intermediary field_7569 Lnet/minecraft/class_1664;field_7569:Ljava/lang/String;
      official j Lcpx;j:Ljava/lang/String;
    • optionName

      private final Text optionName
      Mappings:
      Namespace Name Mixin selector
      named optionName Lnet/minecraft/entity/player/PlayerModelPart;optionName:Lnet/minecraft/text/Text;
      intermediary field_7567 Lnet/minecraft/class_1664;field_7567:Lnet/minecraft/class_2561;
      official k Lcpx;k:Lxv;
  • Constructor Details

    • PlayerModelPart

      private PlayerModelPart(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/player/PlayerModelPart;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1664;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lcpx;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static PlayerModelPart[] 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 PlayerModelPart 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
    • getBitFlag

      public int getBitFlag()
      Mappings:
      Namespace Name Mixin selector
      named getBitFlag Lnet/minecraft/entity/player/PlayerModelPart;getBitFlag()I
      intermediary method_7430 Lnet/minecraft/class_1664;method_7430()I
      official a Lcpx;a()I
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/entity/player/PlayerModelPart;getId()I
      intermediary method_35206 Lnet/minecraft/class_1664;method_35206()I
      official b Lcpx;b()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/entity/player/PlayerModelPart;getName()Ljava/lang/String;
      intermediary method_7429 Lnet/minecraft/class_1664;method_7429()Ljava/lang/String;
      official c Lcpx;c()Ljava/lang/String;
    • getOptionName

      public Text getOptionName()
      Mappings:
      Namespace Name Mixin selector
      named getOptionName Lnet/minecraft/entity/player/PlayerModelPart;getOptionName()Lnet/minecraft/text/Text;
      intermediary method_7428 Lnet/minecraft/class_1664;method_7428()Lnet/minecraft/class_2561;
      official d Lcpx;d()Lxv;