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.
On this page
This feature is exclusive to Bedrock Edition and Minecraft Education.
/dropall{
"title": "<code>/dropall</code>",
"rows": [
{
"field": "Hidden",
"label": "Visibility"
},
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
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:
forwardto drop items to the front.backto drop items to the back.leftto drop items to the left.rightto 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. | ||||||
Navigation
Sources
- Commands/dropall — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3071667.