| Enum Constant and Description |
|---|
AQUA |
DARK_AQUA |
DARK_BLUE |
GOLD |
GREEN |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static org.bukkit.ChatColor |
getRandom() |
org.bukkit.ChatColor |
toChatColor() |
static Colors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Colors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Colors YELLOW
public static final Colors GREEN
public static final Colors GOLD
public static final Colors AQUA
public static final Colors DARK_AQUA
public static final Colors DARK_BLUE
public static Colors[] values()
for (Colors c : Colors.values()) System.out.println(c);
public static Colors 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 org.bukkit.ChatColor getRandom()
public org.bukkit.ChatColor toChatColor()