public enum BossBarAction extends Enum<BossBarAction>
| Enum Constant and Description |
|---|
ADD |
REMOVE |
UPDATE_FLAGS |
UPDATE_HEALTH |
UPDATE_STYLE |
UPDATE_TITLE |
| Modifier and Type | Method and Description |
|---|---|
static BossBarAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BossBarAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossBarAction ADD
public static final BossBarAction REMOVE
public static final BossBarAction UPDATE_HEALTH
public static final BossBarAction UPDATE_TITLE
public static final BossBarAction UPDATE_STYLE
public static final BossBarAction UPDATE_FLAGS
public static BossBarAction[] values()
for (BossBarAction c : BossBarAction.values()) System.out.println(c);
public static BossBarAction 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.