public enum BossBarColor extends Enum<BossBarColor>
BossBar
.Enum Constant and Description |
---|
BLUE |
GREEN |
PINK |
PURPLE |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static BossBarColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BossBarColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossBarColor PINK
public static final BossBarColor BLUE
public static final BossBarColor RED
public static final BossBarColor GREEN
public static final BossBarColor YELLOW
public static final BossBarColor PURPLE
public static final BossBarColor WHITE
public static BossBarColor[] values()
for (BossBarColor c : BossBarColor.values()) System.out.println(c);
public static BossBarColor 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