Enum Class BossType

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

public enum BossType extends Enum<BossType>
Valid boss bar type
  • Enum Constant Details

    • SOLID

      public static final BossType SOLID
      Solid boss bar HP display
    • SEGMENTED_6

      public static final BossType SEGMENTED_6
      Divided in 6 blocks boss bar HP display
    • SEGMENTED_10

      public static final BossType SEGMENTED_10
      Divided in 10 blocks boss bar HP display
    • SEGMENTED_12

      public static final BossType SEGMENTED_12
      Divided in 12 blocks boss bar HP display
    • SEGMENTED_20

      public static final BossType SEGMENTED_20
      Divided in 20 blocks boss bar HP display
  • Method Details

    • values

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