| Package | Description |
|---|---|
| net.md_5.bungee.api | |
| net.md_5.bungee.api.chat |
| Modifier and Type | Field and Description |
|---|---|
static ChatColor |
ChatColor.AQUA
Represents aqua.
|
static ChatColor |
ChatColor.BLACK
Represents black.
|
static ChatColor |
ChatColor.BLUE
Represents blue.
|
static ChatColor |
ChatColor.BOLD
Makes the text bold.
|
static ChatColor |
ChatColor.DARK_AQUA
Represents dark blue (aqua).
|
static ChatColor |
ChatColor.DARK_BLUE
Represents dark blue.
|
static ChatColor |
ChatColor.DARK_GRAY
Represents dark gray.
|
static ChatColor |
ChatColor.DARK_GREEN
Represents dark green.
|
static ChatColor |
ChatColor.DARK_PURPLE
Represents dark purple.
|
static ChatColor |
ChatColor.DARK_RED
Represents dark red.
|
static ChatColor |
ChatColor.GOLD
Represents gold.
|
static ChatColor |
ChatColor.GRAY
Represents gray.
|
static ChatColor |
ChatColor.GREEN
Represents green.
|
static ChatColor |
ChatColor.ITALIC
Makes the text italic.
|
static ChatColor |
ChatColor.LIGHT_PURPLE
Represents light purple.
|
static ChatColor |
ChatColor.MAGIC
Represents magical characters that change around randomly.
|
static ChatColor |
ChatColor.RED
Represents red.
|
static ChatColor |
ChatColor.RESET
Resets all previous chat colors or formats.
|
static ChatColor |
ChatColor.STRIKETHROUGH
Makes a line appear through the text.
|
static ChatColor |
ChatColor.UNDERLINE
Makes the text appear underlined.
|
static ChatColor |
ChatColor.WHITE
Represents white.
|
static ChatColor |
ChatColor.YELLOW
Represents yellow.
|
| Modifier and Type | Method and Description |
|---|---|
static ChatColor |
ChatColor.getByChar(char code)
Get the colour represented by the specified code.
|
static ChatColor |
ChatColor.of(Color color) |
static ChatColor |
ChatColor.of(String string) |
static ChatColor |
ChatColor.valueOf(String name)
Deprecated.
holdover from when this class was an enum
|
static ChatColor[] |
ChatColor.values()
Deprecated.
holdover from when this class was an enum
|
| 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–2021 WaterfallMC. All rights reserved.