Enum PlayerModelPart

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

@Environment(CLIENT)
public enum PlayerModelPart
extends Enum<PlayerModelPart>
Mappings:
Namespace Name
official wo
intermediary net/minecraft/class_1966
named net/minecraft/client/render/entity/PlayerModelPart
  • Enum Constant Details

    • CAPE

      public static final PlayerModelPart CAPE
      Mappings:
      Namespace Name Mixin selector
      official a Lwo;a:Lwo;
      intermediary field_8374 Lnet/minecraft/class_1966;field_8374:Lnet/minecraft/class_1966;
      named CAPE Lnet/minecraft/client/render/entity/PlayerModelPart;CAPE:Lnet/minecraft/client/render/entity/PlayerModelPart;
    • JACKET

      public static final PlayerModelPart JACKET
      Mappings:
      Namespace Name Mixin selector
      official b Lwo;b:Lwo;
      intermediary field_8375 Lnet/minecraft/class_1966;field_8375:Lnet/minecraft/class_1966;
      named JACKET Lnet/minecraft/client/render/entity/PlayerModelPart;JACKET:Lnet/minecraft/client/render/entity/PlayerModelPart;
    • LEFT_SLEEVE

      public static final PlayerModelPart LEFT_SLEEVE
      Mappings:
      Namespace Name Mixin selector
      official c Lwo;c:Lwo;
      intermediary field_8376 Lnet/minecraft/class_1966;field_8376:Lnet/minecraft/class_1966;
      named LEFT_SLEEVE Lnet/minecraft/client/render/entity/PlayerModelPart;LEFT_SLEEVE:Lnet/minecraft/client/render/entity/PlayerModelPart;
    • RIGHT_SLEEVE

      public static final PlayerModelPart RIGHT_SLEEVE
      Mappings:
      Namespace Name Mixin selector
      official d Lwo;d:Lwo;
      intermediary field_8377 Lnet/minecraft/class_1966;field_8377:Lnet/minecraft/class_1966;
      named RIGHT_SLEEVE Lnet/minecraft/client/render/entity/PlayerModelPart;RIGHT_SLEEVE:Lnet/minecraft/client/render/entity/PlayerModelPart;
    • LEFT_PANTS

      public static final PlayerModelPart LEFT_PANTS
      Mappings:
      Namespace Name Mixin selector
      official e Lwo;e:Lwo;
      intermediary field_8378 Lnet/minecraft/class_1966;field_8378:Lnet/minecraft/class_1966;
      named LEFT_PANTS Lnet/minecraft/client/render/entity/PlayerModelPart;LEFT_PANTS:Lnet/minecraft/client/render/entity/PlayerModelPart;
    • RIGHT_PANTS

      public static final PlayerModelPart RIGHT_PANTS
      Mappings:
      Namespace Name Mixin selector
      official f Lwo;f:Lwo;
      intermediary field_8379 Lnet/minecraft/class_1966;field_8379:Lnet/minecraft/class_1966;
      named RIGHT_PANTS Lnet/minecraft/client/render/entity/PlayerModelPart;RIGHT_PANTS:Lnet/minecraft/client/render/entity/PlayerModelPart;
    • HATE

      public static final PlayerModelPart HATE
      Mappings:
      Namespace Name Mixin selector
      official g Lwo;g:Lwo;
      intermediary field_8380 Lnet/minecraft/class_1966;field_8380:Lnet/minecraft/class_1966;
      named HATE Lnet/minecraft/client/render/entity/PlayerModelPart;HATE:Lnet/minecraft/client/render/entity/PlayerModelPart;
  • Field Details

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official h Lwo;h:I
      intermediary field_8381 Lnet/minecraft/class_1966;field_8381:I
      named id Lnet/minecraft/client/render/entity/PlayerModelPart;id:I
    • bitFlag

      private final int bitFlag
      Mappings:
      Namespace Name Mixin selector
      official i Lwo;i:I
      intermediary field_8382 Lnet/minecraft/class_1966;field_8382:I
      named bitFlag Lnet/minecraft/client/render/entity/PlayerModelPart;bitFlag:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official j Lwo;j:Ljava/lang/String;
      intermediary field_8383 Lnet/minecraft/class_1966;field_8383:Ljava/lang/String;
      named name Lnet/minecraft/client/render/entity/PlayerModelPart;name:Ljava/lang/String;
    • optionName

      private final Text optionName
      Mappings:
      Namespace Name Mixin selector
      official k Lwo;k:Leu;
      intermediary field_8384 Lnet/minecraft/class_1966;field_8384:Lnet/minecraft/class_1444;
      named optionName Lnet/minecraft/client/render/entity/PlayerModelPart;optionName:Lnet/minecraft/text/Text;
  • Constructor Details

    • PlayerModelPart

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

    • values

      public static PlayerModelPart[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PlayerModelPart valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getBitFlag

      public int getBitFlag()
      Mappings:
      Namespace Name Mixin selector
      official a Lwo;a()I
      intermediary method_8055 Lnet/minecraft/class_1966;method_8055()I
      named getBitFlag Lnet/minecraft/client/render/entity/PlayerModelPart;getBitFlag()I
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lwo;b()I
      intermediary method_8056 Lnet/minecraft/class_1966;method_8056()I
      named getId Lnet/minecraft/client/render/entity/PlayerModelPart;getId()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official c Lwo;c()Ljava/lang/String;
      intermediary method_8057 Lnet/minecraft/class_1966;method_8057()Ljava/lang/String;
      named getName Lnet/minecraft/client/render/entity/PlayerModelPart;getName()Ljava/lang/String;
    • getOptionName

      public Text getOptionName()
      Mappings:
      Namespace Name Mixin selector
      official d Lwo;d()Leu;
      intermediary method_8058 Lnet/minecraft/class_1966;method_8058()Lnet/minecraft/class_1444;
      named getOptionName Lnet/minecraft/client/render/entity/PlayerModelPart;getOptionName()Lnet/minecraft/text/Text;