[This is preliminary documentation and is subject to change.]
Parses next parameter as a Minecraft block name.
Allows an optional integer parameter to follow the block name after a slash, e.g. "BlockName/#"
Messages warnings directly to the player in case of problems.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
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
- param
- Int32%
Optional integer parameter. Set to 1 if not given.