Commands/dropall

Minecraft Wiki article. Categories: Removed_features, Bedrock_Edition, Minecraft_Education, Unknown_Education_version_history, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/dropall on the Minecraft Wiki. Mirrored from revision 3071667. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

BlockSprite rose.png: Sprite image for rose in Minecraft
This page describes content that has been removed from Minecraft.
 
This feature was present in earlier versions of Minecraft, but has since been removed.
This feature is exclusive to Bedrock Edition and Minecraft Education.
 
/dropall

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

Minecraft Education
?Added /dropall.

Sources