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