Commands/loot

Drops the given number of items from the specified inventory slot onto the ground by one block in the specified direction.


 * Syntax




 * Arguments


 * slotNum: int
 * Specifies the slot number to drop, slots are numbered from 1 to 27.


 * quantity: int
 * Specifies the number of items to be dropped from the Agent's inventory slot. Must be between 1 and 64.


 * direction: string
 * Specifies the direction of Agent to drop the item(s).
 * Must be one of:
 * to drop item(s) to the front.
 * to drop item(s) to the back.
 * to drop item(s) to the left.
 * to drop item(s) to the right.


 * Result


 * Fails if the arguments are not specified correctly or the slot was empty.
 * On success, returns if items were dropped onto the ground in the direction specified.