Enum Class BossFlag

java.lang.Object
java.lang.Enum<BossFlag>
com.viaversion.viaversion.api.legacy.bossbar.BossFlag
All Implemented Interfaces:
Serializable, Comparable<BossFlag>, Constable

public enum BossFlag extends Enum<BossFlag>
  • Enum Constant Details

    • DARKEN_SKY

      public static final BossFlag DARKEN_SKY
    • PLAY_BOSS_MUSIC

      public static final BossFlag PLAY_BOSS_MUSIC
    • CREATE_FOG

      public static final BossFlag CREATE_FOG
  • Method Details

    • values

      public static BossFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BossFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public int getId()