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

Converts given coordinates to a block array index.

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

Syntax

   
 C# 
public int Index(
	int x,
	int y,
	int z
)

Parameters

x
Int32
X coordinate (width).
y
Int32
Y coordinate (length, Notch's Z).
z
Int32
Z coordinate (height, Notch's Y).

Return Value

Index of the block in Map.Blocks array.

See Also