java.lang.Object
java.lang.Enum<ColorMC>
committee.nova.mods.avaritia.api.client.util.color.ColorMC
所有已实现的接口:
Serializable, Comparable<ColorMC>, Constable

public enum ColorMC extends Enum<ColorMC>
  • 枚举常量详细资料

    • BLACK

      public static final ColorMC BLACK
    • DARK_BLUE

      public static final ColorMC DARK_BLUE
    • DARK_GREEN

      public static final ColorMC DARK_GREEN
    • DARK_AQUA

      public static final ColorMC DARK_AQUA
    • DARK_RED

      public static final ColorMC DARK_RED
    • DARK_PURPLE

      public static final ColorMC DARK_PURPLE
    • GOLD

      public static final ColorMC GOLD
    • GRAY

      public static final ColorMC GRAY
    • DARK_GRAY

      public static final ColorMC DARK_GRAY
    • BLUE

      public static final ColorMC BLUE
    • GREEN

      public static final ColorMC GREEN
    • AQUA

      public static final ColorMC AQUA
    • RED

      public static final ColorMC RED
    • LIGHT_PURPLE

      public static final ColorMC LIGHT_PURPLE
    • YELLOW

      public static final ColorMC YELLOW
    • WHITE

      public static final ColorMC WHITE
  • 方法详细资料

    • values

      public static ColorMC[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ColorMC 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值