public enum BossBarStyle extends Enum<BossBarStyle>
BossBar.| Enum Constant and Description |
|---|
SEGMENTED_10
Splits the boss bar into 10 segments
|
SEGMENTED_12
Splits the boss bar into 12 segments
|
SEGMENTED_20
Splits the boss bar into 20 segments
|
SEGMENTED_6
Splits the boss bar into 6 segments
|
SOLID
Makes the boss bar solid (no segments)
|
| Modifier and Type | Method and Description |
|---|---|
static BossBarStyle |
defaultStyle() |
static BossBarStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BossBarStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossBarStyle SOLID
public static final BossBarStyle SEGMENTED_6
public static final BossBarStyle SEGMENTED_10
public static final BossBarStyle SEGMENTED_12
public static final BossBarStyle SEGMENTED_20
public static BossBarStyle[] values()
for (BossBarStyle c : BossBarStyle.values()) System.out.println(c);
public static BossBarStyle 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 static BossBarStyle defaultStyle()
Copyright © 2020. All rights reserved.