public static enum EnchantmentDamage.TYPE extends Enum<EnchantmentDamage.TYPE>
| Enum Constant and Description |
|---|
ALL |
ARTHROPODS |
SMITE |
| Modifier and Type | Method and Description |
|---|---|
static EnchantmentDamage.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnchantmentDamage.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnchantmentDamage.TYPE ALL
public static final EnchantmentDamage.TYPE SMITE
public static final EnchantmentDamage.TYPE ARTHROPODS
public static EnchantmentDamage.TYPE[] values()
for (EnchantmentDamage.TYPE c : EnchantmentDamage.TYPE.values()) System.out.println(c);
public static EnchantmentDamage.TYPE valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.