Enum Class PlayerModelPart

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

public enum PlayerModelPart extends Enum<PlayerModelPart>
  • Enum Constant Details

  • Field Details

    • bit

      private final int bit
    • mask

      private final int mask
    • id

      private final String id
    • name

      private final Component name
  • Constructor Details

    • PlayerModelPart

      private PlayerModelPart(int p_36443_, String p_36444_)
  • 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
    • getMask

      public int getMask()
    • getBit

      public int getBit()
    • getId

      public String getId()
    • getName

      public Component getName()