Enum Class BossColor

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

public enum BossColor extends Enum<BossColor>
Valid boss bar colors
  • Enum Constant Details

    • PINK

      public static final BossColor PINK
      Pink boss bar
    • BLUE

      public static final BossColor BLUE
      Blue boss bar
    • RED

      public static final BossColor RED
      Red boss bar
    • GREEN

      public static final BossColor GREEN
      Green boss bar
    • YELLOW

      public static final BossColor YELLOW
      Yellow boss bar
    • PURPLE

      public static final BossColor PURPLE
      Purple boss bar
    • WHITE

      public static final BossColor WHITE
      White boss bar
  • Method Details

    • values

      public static BossColor[] 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 BossColor 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