public enum EnumEnchantmentType extends java.lang.Enum<EnumEnchantmentType>
Enum Constant and Description |
---|
all |
armor |
armor_feet |
armor_head |
armor_legs |
armor_torso |
bow |
breakable |
digger |
fishing_rod |
weapon |
Modifier and Type | Method and Description |
---|---|
boolean |
canEnchantItem(Item p_77557_1_) |
static EnumEnchantmentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumEnchantmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumEnchantmentType all
public static final EnumEnchantmentType armor
public static final EnumEnchantmentType armor_feet
public static final EnumEnchantmentType armor_legs
public static final EnumEnchantmentType armor_torso
public static final EnumEnchantmentType armor_head
public static final EnumEnchantmentType weapon
public static final EnumEnchantmentType digger
public static final EnumEnchantmentType fishing_rod
public static final EnumEnchantmentType breakable
public static final EnumEnchantmentType bow
public static EnumEnchantmentType[] values()
for (EnumEnchantmentType c : EnumEnchantmentType.values()) System.out.println(c);
public static EnumEnchantmentType 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 boolean canEnchantItem(Item p_77557_1_)