Enum Constant and Description |
---|
aqua
|
black
|
blue
|
bold
|
dark_aqua
|
dark_blue
|
dark_gray
|
dark_green
|
dark_purple
|
dark_red
|
gold
|
gray
|
green
|
italic
|
light_purple
|
obfuscated
|
red
|
reset
|
strikethrough
|
underline
|
white
|
yellow
|
Modifier and Type | Method and Description |
---|---|
static ChatColor
|
forId(char id)
|
char |
getId()
|
boolean |
isFormat()
|
net.md_5.bungee.api.ChatColor |
toSpigotChatColor()
|
static ChatColor
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatColor[]
|
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatColor black
public static final ChatColor dark_blue
public static final ChatColor dark_green
public static final ChatColor dark_aqua
public static final ChatColor dark_red
public static final ChatColor dark_purple
public static final ChatColor gold
public static final ChatColor gray
public static final ChatColor dark_gray
public static final ChatColor blue
public static final ChatColor green
public static final ChatColor aqua
public static final ChatColor red
public static final ChatColor light_purple
public static final ChatColor yellow
public static final ChatColor white
public static final ChatColor obfuscated
public static final ChatColor bold
public static final ChatColor strikethrough
public static final ChatColor underline
public static final ChatColor italic
public static final ChatColor reset
public static ChatColor[] values()
for (ChatColor c : ChatColor.values()) System.out.println(c);
public static ChatColor 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 name
java.lang.NullPointerException
- if the argument is nullpublic static ChatColor forId(char id)
public char getId()
public boolean isFormat()
public net.md_5.bungee.api.ChatColor toSpigotChatColor()