Minecraft Wiki
Advertisement
This page describes content that exists only in outdated versions of Minecraft. 
This feature used to be in the game but has since been removed.
Information icon
This feature is exclusive to Bedrock Edition and Minecraft Education. 

Makes an agent drop all its 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.

History

Education Edition
?Added /dropall.
Advertisement