Minecraft:Commands/drop: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{about|the command in {{BE}}|the renamed command in {{JE}}|Commands/loot| | {{about|the command in {{BE}}|the renamed command in {{JE}}|Commands/loot|other uses|Drop (disambiguation)}} | ||
{{Outdated}} | {{Outdated}} | ||
{{exclusive|bedrock|education}} | {{exclusive|bedrock|education}} | ||
Latest revision as of 11:09, 6 August 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.