Enum BossBarOverlay
- java.lang.Object
-
- java.lang.Enum<BossBarOverlay>
-
- com.velocitypowered.api.util.bossbar.BossBarOverlay
-
- All Implemented Interfaces:
Serializable,Comparable<BossBarOverlay>
@Deprecated public enum BossBarOverlay extends Enum<BossBarOverlay>
Deprecated.Replaced withBossBar.OverlayRepresents a overlay of aBossBar.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOTCHED_10Deprecated.NOTCHED_12Deprecated.NOTCHED_20Deprecated.NOTCHED_6Deprecated.PROGRESSDeprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BossBarOverlayvalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static BossBarOverlay[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROGRESS
public static final BossBarOverlay PROGRESS
Deprecated.
-
NOTCHED_6
public static final BossBarOverlay NOTCHED_6
Deprecated.
-
NOTCHED_10
public static final BossBarOverlay NOTCHED_10
Deprecated.
-
NOTCHED_12
public static final BossBarOverlay NOTCHED_12
Deprecated.
-
NOTCHED_20
public static final BossBarOverlay NOTCHED_20
Deprecated.
-
-
Method Detail
-
values
public static BossBarOverlay[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BossBarOverlay c : BossBarOverlay.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BossBarOverlay valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-