Commands/inspectdata

Lets your agent returns the data value of the block in the specified direction.

Arguments

 * Specifies the direction of Agent to verify the data value of the block.
 * Must be one of:
 * to inspect the block on the front.
 * to inspect the block on the back.
 * to inspect the block on the left-hand side.
 * to inpect the block on the right-hand side.
 * to inspect the block on the top-hand side.
 * to inspect the block on the bottom-hand side.

Result
Fails if the arguments are not specified correctly.

On success, returns the data value of the block in the specified direction. See block id for the complete list.

命令/inspectdata