Commands/dropall

Makes an agent drop all its items from all slots onto the ground by one block in the specified direction.

Arguments

 * Specifies the direction of Agent to drop all the items.
 * Must be one of:
 * to drop items to the front.
 * to drop items to the back.
 * to drop items to the left.
 * to drop items to the right.

Result
Fails if the arguments are not specified correctly or the Agent's inventory was empty.

On success, returns if all items were dropped onto the ground in the direction specified.