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