BossBar.Flag@Deprecated public enum BossBarFlag extends Enum<BossBarFlag>
BossBar's flags.| Enum Constant and Description |
|---|
CREATE_WORLD_FOG
Deprecated.
|
DARKEN_SCREEN
Deprecated.
|
PLAY_BOSS_MUSIC
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static BossBarFlag |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static BossBarFlag[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossBarFlag DARKEN_SCREEN
public static final BossBarFlag PLAY_BOSS_MUSIC
public static final BossBarFlag CREATE_WORLD_FOG
public static BossBarFlag[] values()
for (BossBarFlag c : BossBarFlag.values()) System.out.println(c);
public static BossBarFlag 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 null