public static enum VDCConfig.KeyConsumptionBehavior extends Enum<VDCConfig.KeyConsumptionBehavior>
| Enum Constant and Description |
|---|
CONSUME
Consume the item.
|
DAMAGE
Damage the item.
|
| Modifier and Type | Method and Description |
|---|---|
static VDCConfig.KeyConsumptionBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VDCConfig.KeyConsumptionBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VDCConfig.KeyConsumptionBehavior CONSUME
public static final VDCConfig.KeyConsumptionBehavior DAMAGE
public static VDCConfig.KeyConsumptionBehavior[] values()
for (VDCConfig.KeyConsumptionBehavior c : VDCConfig.KeyConsumptionBehavior.values()) System.out.println(c);
public static VDCConfig.KeyConsumptionBehavior 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 null