[This is preliminary documentation and is subject to change.]
Static class with definitions of Minecraft color codes,
parsers, converters, and utilities.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)
Syntax
| C# |
public static class Color
Members
| All Members | Fields | Methods |
| Member | Description | |
|---|---|---|
| Announcement | Color of announcements, server announcements. | |
| AnnouncementDefault | Default color of announcements, server announcements. | |
| Aqua | ||
| Black | ||
| Blue | ||
| ColorNames | List of color names indexed by their id. | |
| GetName(Char) | Gets color name for hex color code. | |
| GetName(Int32) | Gets color name for a numeric color code. | |
| GetName(String) | Gets color name for a string representation of a color. | |
| Gray | ||
| Green | ||
| Help | Color of help messages, /help. | |
| HelpDefault | Default color of help messages, /help. | |
| IRC | Color of IRC chat. | |
| IRCBold | String that toggles bold text on/off in IRC messages. | |
| IRCDefault | Default color of IRC chat. | |
| IRCReset | String that resets formatting for following part of an IRC message. | |
| IsValidColorCode(Char) | Checks whether a color code is valid (checks if it's hexadecimal char). | |
| Lime | ||
| Magenta | ||
| Maroon | ||
| Me | Color of /me command. | |
| MeDefault | Default color of /me command. | |
| Navy | ||
| Olive | ||
| Parse(Char) | Parses a string to a format readable by Minecraft clients.
an accept color names and color codes (with or without the ampersand). | |
| Parse(String) | Parses a string to a format readable by Minecraft clients.
an accept color names and color codes (with or without the ampersand). | |
| PM | Color of personal messages. | |
| PMDefault | Default color of personal messages. | |
| Purple | ||
| Red | ||
| ReplacePercentCodes(String) | Substitutes percent color codes with equivalent ampersand color codes. | |
| ReplacePercentCodes(StringBuilder) | Substitutes percent color codes with equivalent ampersand color codes. | |
| Say | Color of say messages, /say. | |
| SayDefault | Default color of say messages, /say. | |
| Silver | ||
| StripColors(String) | Strips all ampersand color codes and doubled-up ampersands. | |
| SubstituteSpecialColors(String) | Substitutes all special ampersand color codes (like Color.Sys)
with the assigned Minecraft colors (like Color.Yellow). | |
| SubstituteSpecialColors(StringBuilder) | Substitutes all special ampersand color codes (like Color.Sys)
with the assigned Minecraft colors (like Color.Yellow). | |
| Sys | Color of system messages, nickserv, chanserv. | |
| SysDefault | Default color of system messages, nickserv, chanserv. | |
| Teal | ||
| ToIRCColorCodes(String) | ||
| ToIRCColorCodes(StringBuilder) | ||
| Warning | Color of warning messages. | |
| WarningDefault | Default color of warning messages. | |
| White | ||
| Yellow |