public enum PlayerModelPart extends java.lang.Enum<PlayerModelPart>
Enum Constant and Description |
---|
CAPE |
HAT |
JACKET |
LEFT_PANTS_LEG |
LEFT_SLEEVE |
RIGHT_PANTS_LEG |
RIGHT_SLEEVE |
Modifier and Type | Field and Description |
---|---|
private ITextComponent |
name |
private int |
partId |
private int |
partMask |
private java.lang.String |
partName |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getName() |
int |
getPartMask() |
java.lang.String |
getPartName() |
static PlayerModelPart |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerModelPart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerModelPart CAPE
public static final PlayerModelPart JACKET
public static final PlayerModelPart LEFT_SLEEVE
public static final PlayerModelPart RIGHT_SLEEVE
public static final PlayerModelPart LEFT_PANTS_LEG
public static final PlayerModelPart RIGHT_PANTS_LEG
public static final PlayerModelPart HAT
private final int partId
private final int partMask
private final java.lang.String partName
private final ITextComponent name
public static PlayerModelPart[] values()
for (PlayerModelPart c : PlayerModelPart.values()) System.out.println(c);
public static PlayerModelPart 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 java.lang.String getPartName()
public ITextComponent getName()