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