public enum StatusEffectType extends Enum<StatusEffectType>
Enum Constant and Description |
---|
BENEFICIAL |
HARMFUL |
NEUTRAL |
Modifier and Type | Field and Description |
---|---|
private Formatting |
formatting |
Modifier and Type | Method and Description |
---|---|
Formatting |
getFormatting() |
static StatusEffectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusEffectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusEffectType BENEFICIAL
public static final StatusEffectType HARMFUL
public static final StatusEffectType NEUTRAL
private final Formatting formatting
public static StatusEffectType[] values()
for (StatusEffectType c : StatusEffectType.values()) System.out.println(c);
public static StatusEffectType 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@Environment(value=CLIENT) public Formatting getFormatting()