Commands/dropall

From Minecraft Wiki
Jump to: navigation, search
dropall
Restrictions

None

First introduced

?

Drops all items from all slots onto the ground by one block in the specified direction.

Syntax
dropall <direction: string>
Arguments
direction: string
Specifies the direction of Agent to drop all the items.
Must be one of:
  • forward to drop items to the front.
  • back to drop items to the back.
  • left to drop items to the left.
  • right 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.