public enum BarFlag extends Enum<BarFlag>
Enum Constant and Description |
---|
CREATE_FOG
Creates fog around the world.
|
DARKEN_SKY
Darkens the sky like during fighting a wither.
|
PLAY_BOSS_MUSIC
Tells the client to play the Ender Dragon boss music.
|
Modifier and Type | Method and Description |
---|---|
static BarFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BarFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BarFlag DARKEN_SKY
public static final BarFlag PLAY_BOSS_MUSIC
public static final BarFlag CREATE_FOG
public static BarFlag[] values()
for (BarFlag c : BarFlag.values()) System.out.println(c);
public static BarFlag 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 © 2017. All rights reserved.