Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Paeonia (texture) TU1.png
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.svg
This feature is exclusive to Bedrock Edition and Education Edition. 
dropall
Visibility

Hidden

Permission level
required

0

Restrictions

None

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