Commands/transfer

From Minecraft Wiki
Jump to: navigation, search
transfer
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.

Transfers a specified quantity of items from one slot to another of your Agent's inventory.

Syntax[edit]

transfer <srcSlotNum: int> <quantity: int> <dstSlotNum: int>

Arguments[edit]

srcSlotNum: int

Specifies the source of slot number to be transferred, slots are numbered from 1 to 27.

quantity: int

Specifies the number of items to be transferred from the Agent's inventory slot.

srcSlotNum: int

Specifies the destination of slot number to be transferred, slots are numbered from 1 to 27.

Result[edit]

Fails if the arguments are not specified correctly, or returns false if the destination already has items of a different type, and if the source slot was empty.

On success, returns true if there was a room for the items to be transferred.

History[edit]

Education Edition
?Added /transfer.