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/setfixedinvslot: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
Line 1: Line 1:
{{Outdated feature}}
{{Outdated feature}}
{{exclusive|bedrock}}
{{MC/Exclusive|bedrock}}
{{Infobox command
{{Infobox command
|name=setfixedinvslot
|name=setfixedinvslot
Line 31: Line 31:


{{HistoryTable
{{HistoryTable
|{{HistoryLine|pocket alpha}}
|{{MC/HistoryLine|pocket alpha}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cmd|setfixedinvslot|link=none}}. }}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{MC/Cmd|setfixedinvslot|link=none}}. }}
|{{HistoryLine|||dev=build 2|Removed {{cmd|setfixedinvslot|link=none}}.}}
|{{HistoryLine|||dev=build 2|Removed {{MC/Cmd|setfixedinvslot|link=none}}.}}
}}
}}


== Navigation ==
== Navigation ==
{{Navbox commands}}
{{MC/Navbox commands}}


de:Entwickler-Befehle
de:Entwickler-Befehle

Latest revision as of 20:13, 9 April 2026

Template:Outdated feature Script error: No such module "Exclusive". Template:Infobox command

Sets fixed Minecraft:inventory slot with a specific Minecraft:item.

Syntax
setfixedinvslot <fixedinvslotnum: int> <itemName: string> [data: int]
Arguments
fixedinvslotnum: int
Specifies the number of fixed inventory slot.
itemName: string
Specifies the item for the fixed slot. Must be a valid item id (for example, iron_shovel), or block id for which items exist.
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

Template:HistoryTable

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Entwickler-Befehle lzh:令/setfixedinvslot pt:Comandos/setfixedinvslot ru:Команды консоли/setfixedinvslot zh:命令/setfixedinvslot