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

Sets a block in a safe way. Note that using SetBlock does not relay changes to players. Use QueueUpdate() for changing blocks on live maps/worlds.

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

Syntax

   
 C# 
public void SetBlock(
	int x,
	int y,
	int z,
	Block type
)

Parameters

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

See Also