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