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

Sets a block at given coordinates.

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

Syntax

   
 C# 
public void SetBlock(
	int index,
	Block type
)

Parameters

index
Int32
Index of the block (use map.Index(x,y,z)).
type
Block
Block type to set.

See Also