Enum Class BossFlag

java.lang.Object
java.lang.Enum<BossFlag>
ml.karmaconfigs.api.common.boss.BossFlag
All Implemented Interfaces:
Serializable, Comparable<BossFlag>, java.lang.constant.Constable

public enum BossFlag extends Enum<BossFlag>
Valid boss bar flags
  • Enum Constant Details

    • DARKEN_SCREEN

      public static final BossFlag DARKEN_SCREEN
      Dark the player screen while the boss bar is active
    • PLAY_BOSS_MUSIC

      public static final BossFlag PLAY_BOSS_MUSIC
      Play boss music while the boss bar is active
    • CREATE_WORLD_FOG

      public static final BossFlag CREATE_WORLD_FOG
      Add fog to the world while the boss bar is active
  • 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