public enum EnumPlayerModelParts extends java.lang.Enum<EnumPlayerModelParts>
Enum Constant and Description |
---|
CAPE |
HAT |
JACKET |
LEFT_PANTS_LEG |
LEFT_SLEEVE |
RIGHT_PANTS_LEG |
RIGHT_SLEEVE |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getName() |
int |
getPartId() |
int |
getPartMask() |
java.lang.String |
getPartName() |
static EnumPlayerModelParts |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumPlayerModelParts[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumPlayerModelParts CAPE
public static final EnumPlayerModelParts JACKET
public static final EnumPlayerModelParts LEFT_SLEEVE
public static final EnumPlayerModelParts RIGHT_SLEEVE
public static final EnumPlayerModelParts LEFT_PANTS_LEG
public static final EnumPlayerModelParts RIGHT_PANTS_LEG
public static final EnumPlayerModelParts HAT
public static EnumPlayerModelParts[] values()
for (EnumPlayerModelParts c : EnumPlayerModelParts.values()) System.out.println(c);
public static EnumPlayerModelParts valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getPartMask()
public int getPartId()
public java.lang.String getPartName()
public ITextComponent getName()