Enum Class NamedColor

java.lang.Object
java.lang.Enum<NamedColor>
com.github.darksoulq.abyssallib.server.resource.asset.definition.NamedColor
All Implemented Interfaces:
Serializable, Comparable<NamedColor>, Constable

public enum NamedColor extends Enum<NamedColor>
Represents named colors for resource pack item definitions.
  • Enum Constant Details

    • WHITE

      public static final NamedColor WHITE
      White
    • ORANGE

      public static final NamedColor ORANGE
      Orange
    • MAGENTA

      public static final NamedColor MAGENTA
      Magenta
    • LIGHT_BLUE

      public static final NamedColor LIGHT_BLUE
      Light blue
    • YELLOW

      public static final NamedColor YELLOW
      Yellow
    • LIME

      public static final NamedColor LIME
      Lime
    • PINK

      public static final NamedColor PINK
      Pink
    • GRAY

      public static final NamedColor GRAY
      Gray
    • LIGHT_GRAY

      public static final NamedColor LIGHT_GRAY
      Light gray
    • CYAN

      public static final NamedColor CYAN
      Cyan
    • PURPLE

      public static final NamedColor PURPLE
      Purple
    • BLUE

      public static final NamedColor BLUE
      Blue
    • BROWN

      public static final NamedColor BROWN
      Brown
    • GREEN

      public static final NamedColor GREEN
      Green
    • RED

      public static final NamedColor RED
      Red
    • BLACK

      public static final NamedColor BLACK
      Black
  • Method Details

    • values

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