public enum BarStyle extends Enum<BarStyle>
| Enum Constant and Description | 
|---|
| SEGMENTED_10Splits the boss bar into 10 segments | 
| SEGMENTED_12Splits the boss bar into 12 segments | 
| SEGMENTED_20Splits the boss bar into 20 segments | 
| SEGMENTED_6Splits the boss bar into 6 segments | 
| SOLIDMakes the boss bar solid (no segments) | 
| Modifier and Type | Method and Description | 
|---|---|
| static BarStyle | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static BarStyle[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final BarStyle SOLID
public static final BarStyle SEGMENTED_6
public static final BarStyle SEGMENTED_10
public static final BarStyle SEGMENTED_12
public static final BarStyle SEGMENTED_20
public static BarStyle[] values()
for (BarStyle c : BarStyle.values()) System.out.println(c);
public static BarStyle 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 © 2016. All rights reserved.