Minecraft:Commands/drop: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{about|the command in {{ | {{about|the command in {{BE}}|the renamed command in {{JE}}|Commands/loot|1|Drop (disambiguation)}} | ||
{{Outdated}} | {{Outdated}} | ||
{{ | {{exclusive|bedrock|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=drop | |name=drop | ||
| Line 8: | Line 8: | ||
}} | }} | ||
Lets | Lets the player's [[Minecraft:agent]] drop specified inventory slot numbered items in the specified quantity in the specified direction. | ||
== Syntax == | == Syntax == | ||
| Line 37: | Line 37: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
pt:Comandos/drop | [[Minecraft:pt:Comandos/drop]] | ||
zh:命令/drop(基岩版) | [[Minecraft:zh:命令/drop(基岩版)]] | ||
Latest revision as of 11:04, 21 April 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Outdated Template:Exclusive Template:Infobox command
Lets the player's Minecraft:agent drop specified inventory slot numbered items in the specified quantity in the specified direction.
Syntax
drop <slotNum: int> <quantity: int> <direction: string>
Arguments
slotNum: int
- Specifies the slot number of block to be placed, slots are numbered from 1 to 27.
quantity: int
- Specifies the number of items to be dropes. Must be from 1 to 64.
direction: string
- Specifies the direction of Agent to drop the item.
- Must be one of:
forwardbackleftright
Result
Fails if the arguments are not specified correctly or the specified slot was empty.
On success, returns if items in the specified inventory slot was droped.