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

Parses next parameter as a Minecraft block name. Messages warnings directly to the player in case of problems.

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

Syntax

   
 C# 
public bool NextBlock(
	Player player,
	bool allowNoneBlock,
	out Block block
)

Parameters

player
Player
Player to send warnings to (if any come up).
allowNoneBlock
Boolean
Whether "none"/"skip" blocktype is allowed.
block
Block%
On success, this is set to the given block type. On failure, this is set to Block.None

Return Value

True on success. False if no more parameters were given; if next parameter could not be parsed as a block name; or if "none" blocktype was given and allowNoneBlock is false.

See Also