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