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

Looks up color name for the given numeric color code.

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

Syntax

   
 C# 
[PureAttribute]
[CanBeNullAttribute]
public static string GetName(
	int index
)

Parameters

index
Int32
Ordinal numeric color code (between 0 and 15), corresponding to Minecraft color code's hex value.

Return Value

Lowercase color name if input code was in range; otherwise null.

See Also