public static enum BossBar.Style extends Enum<BossBar.Style>
Enum Constant and Description |
---|
NOTCHED_10 |
NOTCHED_12 |
NOTCHED_20 |
NOTCHED_6 |
PROGRESS |
Modifier and Type | Method and Description |
---|---|
static BossBar.Style |
byName(String name) |
String |
getName() |
static BossBar.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BossBar.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossBar.Style PROGRESS
public static final BossBar.Style NOTCHED_6
public static final BossBar.Style NOTCHED_10
public static final BossBar.Style NOTCHED_12
public static final BossBar.Style NOTCHED_20
private final String name
public static BossBar.Style[] values()
for (BossBar.Style c : BossBar.Style.values()) System.out.println(c);
public static BossBar.Style 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 nullpublic String getName()
public static BossBar.Style byName(String name)