Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Data component format/equippable: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 4: Line 4:
*** {{nbt|string}}{{nbt|compound|equip_sound}}: {{json_ref|sound event|inline=1}} to play when the item is equipped. Defaults to <code>item.armor.equip_generic</code>.
*** {{nbt|string}}{{nbt|compound|equip_sound}}: {{json_ref|sound event|inline=1}} to play when the item is equipped. Defaults to <code>item.armor.equip_generic</code>.
**** {{nbt inherit/sound event|sounds}}
**** {{nbt inherit/sound event|sounds}}
*** {{nbt|string|asset_id}}: The [[Minecraft:resource location]] of the equipment model to use when equipped. The directory this refers to is <code>assets/<namespace>/equipment/<id>.json</code>. If not specified, falls back to rendering as the item itself when in the head slot (if not applicable, the item does not render).
*** {{nbt|string|asset_id}}: The [[Minecraft:resource location]] of the [[Minecraft:equipment model]] to use when equipped. The directory this refers to is <code>assets/<namespace>/equipment/<id>.json</code>. If not specified, falls back to rendering as the item itself when in the head slot (if not applicable, the item does not render).
*** {{nbt|string}}{{nbt|list|allowed_entities}}: Entity ID, Entity Tag, or list of Entity IDs to limit which entities can equip this item. Defaults to all entities.
*** {{nbt|string}}{{nbt|list|allowed_entities}}: Entity ID, Entity Tag, or list of Entity IDs to limit which entities can equip this item. Defaults to all entities.
*** {{nbt|boolean|dispensable}}: Whether the item can be dispensed by using a [[Minecraft:dispenser]].<ref group="note">If the item type has special dispenser behavior, this has no effect.</ref> Defaults to <code>true</code>.
*** {{nbt|boolean|dispensable}}: Whether the item can be dispensed by using a [[Minecraft:dispenser]].<ref group="note">If the item type has special dispenser behavior, this has no effect.</ref> Defaults to <code>true</code>.

Latest revision as of 11:04, 23 May 2026

Notes

Template:Notelist Minecraft:fr:Format de composant de données/equippable Minecraft:ja:アイテムフォーマット/equippable

Contents