Commands/transfer (Education)
Minecraft Wiki article. Categories: Removed_features, Unknown_Education_version_history, Commands
This article is reproduced from Commands/transfer (Education) on the Minecraft Wiki. Mirrored from revision 3236639. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
/transfer{
"title": "<code>/transfer</code>",
"rows": [
{
"field": "Hidden",
"label": "Visibility"
},
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Transfers a specified quantity of items from one slot to another of your 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
| Minecraft Education | |||||||
|---|---|---|---|---|---|---|---|
| ? | Added /transfer. | ||||||
Navigation
Sources
- Commands/transfer (Education) — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3236639.