Minecraft:Commands/drop: Difference between revisions
From SAS Gaming Wiki
More actions
imported>LiteraGame mNo edit summary |
Sync: updated from Minecraft |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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 == | ||
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.