Commands/setfixedinvslot
Minecraft Wiki article. Categories: Removed_features, Bedrock_Edition, Commands
📌 Mirrored from Minecraft Wiki
This article is reproduced from Commands/setfixedinvslot on the Minecraft Wiki. Mirrored from revision 3331254. 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.
This feature is exclusive to Bedrock Edition.
/setfixedinvslot{
"title": "<code>/setfixedinvslot</code>",
"rows": [
{
"field": "2",
"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": []
}
Sets fixed inventory slot with a specific item.
- Syntax
setfixedinvslot <fixedinvslotnum: int> <itemName: string> [data: int]
- Arguments
- fixedinvslotnum: int
- Specifies the number of fixed inventory slot.
- itemName: string
- data: int (optional)
- Specifies the item data of the item. Must be an integer between -2,147,483,648 and 2,147,483,647 (inclusive, without the commas), but values which are invalid for the specified item id revert to 0. If not specified, defaults to 0.
- Result
- Fails if arguments are not specified correctly.
- On success, players are given the specified items in the fixed inventory slot.
History
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.16.0 | build 1 | Added /setfixedinvslot. | |||||
| build 2 | Removed /setfixedinvslot. | ||||||
Navigation
Sources
- Commands/setfixedinvslot — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3331254.