Commands/drop

From Minecraft Wiki
Jump to: navigation, search
drop
Restrictions

None

First introduced

?

Information icon.svg
This feature is exclusive to Bedrock Edition and Education Edition.
Hydrogen.png
This page describes an education-related feature.
This feature is available only in Education Edition or when enabling the "Education Edition" option in Bedrock Edition.

Lets your agent drop specified Inventory Slot Numbered Items in the specified quantity in the specified direction.

Syntax[edit]

drop <slotNum: int> <quantity: int> <direction: string>

Arguments[edit]

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[edit]

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.