| Package | Description |
|---|---|
| net.md_5.bungee.api | |
| net.md_5.bungee.api.chat |
| Modifier and Type | Method and Description |
|---|---|
static ChatColor |
ChatColor.getByChar(char code)
Get the colour represented by the specified code.
|
static ChatColor |
ChatColor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatColor[] |
ChatColor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ChatColor |
BaseComponent.getColor()
Returns the color of this component.
|
ChatColor |
BaseComponent.getColorRaw()
Returns the color of this component without checking the parents color.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentBuilder |
ComponentBuilder.color(ChatColor color)
Sets the color of the current part.
|
static BaseComponent[] |
TextComponent.fromLegacyText(String message,
ChatColor defaultColor)
Converts the old formatting system that used
COLOR_CHAR into the new json based
system. |
void |
BaseComponent.setColor(ChatColor color)
The color of this component and any child components (unless overridden)
|
Copyright © 2015–2019 WaterfallMC. All rights reserved.