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

Searches the map, from top to bottom, for the first appearance of a given block.

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

Syntax

   
 C# 
public int SearchColumn(
	int x,
	int y,
	Block id,
	int zStart
)

Parameters

x
Int32
X coordinate (width).
y
Int32
Y coordinate (length, Notch's Z).
id
Block
Block type to search for.
zStart
Int32
Starting height. No blocks above this point will be checked.

Return Value

Height (Z coordinate; Notch's X) of the blocktype's first appearance. -1 if given blocktype was not found.

See Also