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

Checks whether player is allowed to place a block on the current world at given coordinates. Raises the PlayerPlacingBlock event.

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

Syntax

   
 C# 
public CanPlaceResult CanPlace(
	Map map,
	Vector3I coords,
	Block newBlock,
	BlockChangeContext context
)

Parameters

map
Map
coords
Vector3I
newBlock
Block
context
BlockChangeContext

See Also