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