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

Gets a block at given coordinates. Checks bounds.

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

Syntax

   
 C# 
public Block GetBlock(
	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

Block type, as a Block enumeration. Block.None if coordinates were out of bounds.

See Also