public static enum CustomItem.Hand extends java.lang.Enum<CustomItem.Hand>
| Enum Constant and Description |
|---|
Left
Hold item in left hand (0)
|
None
Don't show item while it's equipped (2)
|
Right
Hold item in right hand (1)
|
| Modifier and Type | Method and Description |
|---|---|
static CustomItem.Hand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomItem.Hand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomItem.Hand Left
public static final CustomItem.Hand Right
public static final CustomItem.Hand None
public static CustomItem.Hand[] values()
for (CustomItem.Hand c : CustomItem.Hand.values()) System.out.println(c);
public static CustomItem.Hand 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 null