public static enum AbstractBossBar.BarStyle extends Enum<AbstractBossBar.BarStyle>
Enum Constant and Description |
---|
SEGMENTED_10 |
SEGMENTED_12 |
SEGMENTED_20 |
SEGMENTED_6 |
SOLID |
Modifier and Type | Method and Description |
---|---|
static AbstractBossBar.BarStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractBossBar.BarStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractBossBar.BarStyle SOLID
public static final AbstractBossBar.BarStyle SEGMENTED_6
public static final AbstractBossBar.BarStyle SEGMENTED_10
public static final AbstractBossBar.BarStyle SEGMENTED_12
public static final AbstractBossBar.BarStyle SEGMENTED_20
public static AbstractBossBar.BarStyle[] values()
for (AbstractBossBar.BarStyle c : AbstractBossBar.BarStyle.values()) System.out.println(c);
public static AbstractBossBar.BarStyle 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.