[This is preliminary documentation and is subject to change.]

Parses a string to a format readable by Minecraft clients. an accept color names and color codes (with or without the ampersand).

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
[CanBeNullAttribute]
public static string Parse(
	char code
)

Parameters

code
Char
Color code character.

Return Value

Two-character color string, readable by Minecraft client. If input is null or cannot be parsed, returns null.

See Also