Minecraft Wiki
Advertisement
This article is about command in Bedrock Edition. For command in Java Edition 18w43a, see Commands/loot.
This page describes content that exists only in outdated versions of Minecraft. 
This feature used to be in the game, but has ever since been removed.It may or may not return in a future update.
Information icon
This feature is exclusive to Bedrock Edition and Minecraft Education. 

Lets your 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.

Advertisement