Uses of Class
net.md_5.bungee.api.ChatColor
-
Packages that use ChatColor Package Description net.md_5.bungee.api net.md_5.bungee.api.chat -
-
Uses of ChatColor in net.md_5.bungee.api
Fields in net.md_5.bungee.api declared as ChatColor Modifier and Type Field Description static ChatColorChatColor. AQUARepresents aqua.static ChatColorChatColor. BLACKRepresents black.static ChatColorChatColor. BLUERepresents blue.static ChatColorChatColor. BOLDMakes the text bold.static ChatColorChatColor. DARK_AQUARepresents dark blue (aqua).static ChatColorChatColor. DARK_BLUERepresents dark blue.static ChatColorChatColor. DARK_GRAYRepresents dark gray.static ChatColorChatColor. DARK_GREENRepresents dark green.static ChatColorChatColor. DARK_PURPLERepresents dark purple.static ChatColorChatColor. DARK_REDRepresents dark red.static ChatColorChatColor. GOLDRepresents gold.static ChatColorChatColor. GRAYRepresents gray.static ChatColorChatColor. GREENRepresents green.static ChatColorChatColor. ITALICMakes the text italic.static ChatColorChatColor. LIGHT_PURPLERepresents light purple.static ChatColorChatColor. MAGICRepresents magical characters that change around randomly.static ChatColorChatColor. REDRepresents red.static ChatColorChatColor. RESETResets all previous chat colors or formats.static ChatColorChatColor. STRIKETHROUGHMakes a line appear through the text.static ChatColorChatColor. UNDERLINEMakes the text appear underlined.static ChatColorChatColor. WHITERepresents white.static ChatColorChatColor. YELLOWRepresents yellow.Methods in net.md_5.bungee.api that return ChatColor Modifier and Type Method Description static ChatColorChatColor. getByChar(char code)Get the colour represented by the specified code.static ChatColorChatColor. of(Color color)static ChatColorChatColor. of(String string)static ChatColorChatColor. valueOf(String name)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
Methods in net.md_5.bungee.api.chat that return ChatColor Modifier and Type Method Description ChatColorBaseComponent. getColor()Returns the color of this component.ChatColorComponentStyle. getColor()Returns the color of this style.ChatColorBaseComponent. getColorRaw()Returns the color of this component without checking the parents color.Methods in net.md_5.bungee.api.chat with parameters of type ChatColor Modifier and Type Method Description ComponentBuilderComponentBuilder. color(ChatColor color)Sets the color of the current part.ComponentStyleBuilderComponentStyleBuilder. color(ChatColor color)Set the style color.static BaseComponentTextComponent. fromLegacy(String message, ChatColor defaultColor)Converts the old formatting system that usedCOLOR_CHARinto 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.voidBaseComponent. setColor(ChatColor color)Set this component's color.voidComponentStyle. setColor(ChatColor color)The color of this style.Constructors in net.md_5.bungee.api.chat with parameters of type ChatColor Constructor Description ComponentStyle(ChatColor color, String font, Boolean bold, Boolean italic, Boolean underlined, Boolean strikethrough, Boolean obfuscated)
-