[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.2.4 (0.6.2.4)
Syntax
| C# |
public static class Color
Members
| All Members | Fields | Methods |
| Member | Description | |
|---|---|---|
| Announcement | ||
| AnnouncementDefault | ||
| Aqua | ||
| Black | ||
| Blue | ||
| ColorNames | ||
| 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 | ||
| HelpDefault | ||
| IRC | ||
| IRCBold | ||
| IRCDefault | ||
| IRCReset | ||
| IsValidColorCode(Char) |
Checks whether a color code is valid (checks if it's hexadecimal char).
| |
| Lime | ||
| Magenta | ||
| Maroon | ||
| Me | ||
| MeDefault | ||
| 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(Int32) | Parses a numeric color code to a string readable by Minecraft clients | |
| Parse(String) | Parses a string to a format readable by Minecraft clients.
an accept color names and color codes (with or without the ampersand). | |
| ParseToIndex(String) | ||
| PM | ||
| PMDefault | ||
| Purple | ||
| Red | ||
| ReplacePercentCodes(String) | ||
| ReplacePercentCodes(StringBuilder) | ||
| Say | ||
| SayDefault | ||
| Silver | ||
| StripColors(String) | Strips all ampersand color codes and doubled-up ampersands. | |
| SubstituteSpecialColors(String) | ||
| Sys | ||
| SysDefault | ||
| Teal | ||
| ToIRCColorCodes(String) | ||
| Warning | ||
| WarningDefault | ||
| White | ||
| Yellow |