public static enum ENCH.EnchantType extends java.lang.Enum<ENCH.EnchantType>
Enum Constant and Description |
---|
Enchantment |
StaffEnchantment |
Modifier and Type | Method and Description |
---|---|
static ENCH.EnchantType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ENCH.EnchantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ENCH.EnchantType Enchantment
public static final ENCH.EnchantType StaffEnchantment
public static ENCH.EnchantType[] values()
for (ENCH.EnchantType c : ENCH.EnchantType.values()) System.out.println(c);
public static ENCH.EnchantType 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