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/transfer (Education): Difference between revisions

From SAS Gaming Wiki
imported>TigerZhang
mNo edit summary
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 41: Line 41:
{{Navbox commands}}
{{Navbox commands}}


[[Minecraft:lzh:令/transfer(教育版)]]
lzh:令/transfer(教育版)
[[Minecraft:pt:Comandos/transfer (Education)]]
pt:Comandos/transfer (Education)
[[Minecraft:zh:命令/transfer(教育版)]]
zh:命令/transfer(教育版)

Revision as of 15:45, 9 April 2026

Template:For Template:For

Template:Outdated Template:Infobox command

Transfers a specified quantity of items from one slot to another of your Minecraft: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.

History

Template:HistoryTable

Navigation

Template:Navbox commands

lzh:令/transfer(教育版) pt:Comandos/transfer (Education) zh:命令/transfer(教育版)