Enum Constant and Description |
---|
BLACK |
BLUE |
BROWN |
CYAN |
GRAY |
GREEN |
ORANGE |
PINK |
PURPLE |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static ColorEnum |
fromDye(net.minecraft.item.DyeColor dyeColor) |
static ColorEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorEnum BLUE
public static final ColorEnum RED
public static final ColorEnum GREEN
public static final ColorEnum ORANGE
public static final ColorEnum PINK
public static final ColorEnum PURPLE
public static final ColorEnum YELLOW
public static final ColorEnum WHITE
public static final ColorEnum BROWN
public static final ColorEnum BLACK
public static final ColorEnum GRAY
public static final ColorEnum CYAN
public static ColorEnum[] values()
for (ColorEnum c : ColorEnum.values()) System.out.println(c);
public static ColorEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ColorEnum fromDye(net.minecraft.item.DyeColor dyeColor)