Uses of Class
net.md_5.bungee.api.ChatColor
-
Uses of ChatColor in net.md_5.bungee.api
Modifier and TypeFieldDescriptionstatic final ChatColor
ChatColor.AQUA
Represents aqua.static final ChatColor
ChatColor.BLACK
Represents black.static final ChatColor
ChatColor.BLUE
Represents blue.static final ChatColor
ChatColor.BOLD
Makes the text bold.static final ChatColor
ChatColor.DARK_AQUA
Represents dark blue (aqua).static final ChatColor
ChatColor.DARK_BLUE
Represents dark blue.static final ChatColor
ChatColor.DARK_GRAY
Represents dark gray.static final ChatColor
ChatColor.DARK_GREEN
Represents dark green.static final ChatColor
ChatColor.DARK_PURPLE
Represents dark purple.static final ChatColor
ChatColor.DARK_RED
Represents dark red.static final ChatColor
ChatColor.GOLD
Represents gold.static final ChatColor
ChatColor.GRAY
Represents gray.static final ChatColor
ChatColor.GREEN
Represents green.static final ChatColor
ChatColor.ITALIC
Makes the text italic.static final ChatColor
ChatColor.LIGHT_PURPLE
Represents light purple.static final ChatColor
ChatColor.MAGIC
Represents magical characters that change around randomly.static final ChatColor
ChatColor.RED
Represents red.static final ChatColor
ChatColor.RESET
Resets all previous chat colors or formats.static final ChatColor
ChatColor.STRIKETHROUGH
Makes a line appear through the text.static final ChatColor
ChatColor.UNDERLINE
Makes the text appear underlined.static final ChatColor
ChatColor.WHITE
Represents white.static final ChatColor
ChatColor.YELLOW
Represents yellow.Modifier and TypeMethodDescriptionstatic ChatColor
ChatColor.getByChar
(char code) Get the colour represented by the specified code.static ChatColor
static ChatColor
static ChatColor
Deprecated.holdover from when this class was an enumstatic ChatColor[]
ChatColor.values()
Deprecated.holdover from when this class was an enum -
Uses of ChatColor in net.md_5.bungee.api.chat
Modifier and TypeMethodDescriptionBaseComponent.getColor()
Returns the color of this component.ComponentStyle.getColor()
Returns the color of this style.BaseComponent.getColorRaw()
Returns the color of this component without checking the parents color.Modifier and TypeMethodDescriptionSets the color of the current part.Set the style color.static BaseComponent
TextComponent.fromLegacy
(String message, ChatColor defaultColor) Converts the old formatting system that usedCOLOR_CHAR
into the new json based system.static BaseComponent[]
TextComponent.fromLegacyText
(String message, ChatColor defaultColor) Deprecated.TextComponent.fromLegacy(String, ChatColor)
is preferred as it will consolidate all components into a single BaseComponent with extra contents as opposed to an array of components which is non-standard and may result in unexpected behavior.void
Set this component's color.