static String |
clean(String input)
Cleans the given message of all format codes.
|
static String |
clean(String input,
boolean recursive) |
static String |
colorize(char altFormatChar,
String textToTranslate)
Translates a string using an alternate format code character into a
string that uses the internal TextFormat.ESCAPE format code
character.
|
static String |
colorize(String textToTranslate)
Translates a string, using an ampersand (&) as an alternate format code
character, into a string that uses the internal TextFormat.ESCAPE format
code character.
|
static TextFormat |
getByChar(char code)
Gets the TextFormat represented by the specified format code.
|
static TextFormat |
getByChar(String code)
Gets the TextFormat represented by the specified format code.
|
char |
getChar()
Gets the char value associated with this color
|
static String |
getLastColors(String input)
Gets the chat color used at the end of the given input string.
|
boolean |
isColor()
Checks if this code is a color code as opposed to a format code.
|
boolean |
isFormat()
Checks if this code is a format code as opposed to a color code.
|
static TextFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|