We have begun migration of most wikis to our new host, Amazon Web Services. All but the top 100 wikis are in read-only mode until the migration is complete. Estimated completion: TBD -- Update: Fri 10/20 11pm UTC - We have encountered some unexpected issues. Our staff is working around the clock to complete this process as quickly as possible. Thank you for your patience.

Commands/transfer

From Minecraft Wiki
Jump to: navigation, search
transfer
Restrictions

None

First introduced

?

Transfers specified quantity of items from the selected slot to another specified slot of Agent's inventory.

Syntax
transfer <srcSlotNum: int> <quantity: int> <dstSlotNum: int>
Arguments
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
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.