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>
  • Enum Constant Details

  • Field Details

    • bit

      private final int bit
    • mask

      private final int mask
    • id

      private final String id
    • name

      private final ITextComponent name
  • Constructor Details

    • PlayerModelPart

      private PlayerModelPart(int p_i45809_3_, String p_i45809_4_)
  • 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()
    • getId

      public String getId()
    • getName

      public ITextComponent getName()