[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.2.4 (0.6.2.4)

Syntax

   
 C# 
public static string Parse(
	string color
)

Parameters

color
String
Ordinal numeric color code (between 0 and 15).

Return Value

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

See Also