Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/drop: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{about|the command in {{MC/BE}}|the renamed command in {{MC/JE}}|Commands/loot|1|Drop (disambiguation)}}
{{about|the command in {{BE}}|the renamed command in {{JE}}|Commands/loot|1|Drop (disambiguation)}}
{{Outdated}}
{{Outdated}}
{{MC/Exclusive|bedrock|education}}
{{exclusive|bedrock|education}}
{{Infobox command
{{Infobox command
|name=drop
|name=drop
Line 8: Line 8:
}}
}}


Lets your [[Minecraft:agent]] drop specified Inventory Slot Numbered Items in the specified quantity in the specified direction.
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 ==
{{MC/Navbox commands}}
{{Navbox commands}}


pt:Comandos/drop
[[Minecraft:pt:Comandos/drop]]
zh:命令/drop(基岩版)
[[Minecraft:zh:命令/drop(基岩版)]]

Latest revision as of 11:04, 21 April 2026

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:
  • forward
  • back
  • left
  • right

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.

Navigation

Template:Navbox commands

Minecraft:pt:Comandos/drop Minecraft:zh:命令/drop(基岩版)