Enum Class OverlayColor

java.lang.Object
java.lang.Enum<OverlayColor>
com.mrbysco.spawnoverlay.overlay.OverlayColor
All Implemented Interfaces:
Serializable, Comparable<OverlayColor>, Constable

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

    • ALWAYS_SPAWN

      public static final OverlayColor ALWAYS_SPAWN
    • NIGHT_SPAWN

      public static final OverlayColor NIGHT_SPAWN
    • PHANTOM_SPAWN

      public static final OverlayColor PHANTOM_SPAWN
    • PREVENT_SPAWN

      public static final OverlayColor PREVENT_SPAWN
  • Method Details

    • values

      public static OverlayColor[] 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 OverlayColor 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
    • color

      public int color()
    • updateColors

      public static void updateColors()