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

From SAS Gaming Wiki
Revision as of 23:11, 22 December 2025 by imported>ProBot (Bot: Adding de:Entwickler-Befehle#/setfixedinvslot)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Outdated feature Template: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

Template:Navbox commands

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