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: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 2: Line 2:
** {{nbt|compound|minecraft:equippable}}: If present, this item can be equipped in the specified slot.
** {{nbt|compound|minecraft:equippable}}: If present, this item can be equipped in the specified slot.
*** {{nbt|string|slot}}: The slot to put the item on. Can be one of {{cd|head|chest|legs|feet|body|mainhand|offhand|d=or|saddle}}
*** {{nbt|string|slot}}: The slot to put the item on. Can be one of {{cd|head|chest|legs|feet|body|mainhand|offhand|d=or|saddle}}
*** {{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|server-side 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 [[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|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).
Line 12: Line 12:
*** {{nbt|string|camera_overlay}}: The [[Minecraft:resource location]] of the overlay texture to use when equipped. The directory this refers to is <code>assets/<namespace>/textures/<id></code>. Assets which do not exist will use the [[Minecraft:missing texture]], rather than falling back to a default such as the pumpkin overlay.
*** {{nbt|string|camera_overlay}}: The [[Minecraft:resource location]] of the overlay texture to use when equipped. The directory this refers to is <code>assets/<namespace>/textures/<id></code>. Assets which do not exist will use the [[Minecraft:missing texture]], rather than falling back to a default such as the pumpkin overlay.
*** {{Nbt|boolean|can_be_sheared}}: Whether this item can be unequipped from a target mob by right-clicking with Shears. Defaults to <code>false</code>.
*** {{Nbt|boolean|can_be_sheared}}: Whether this item can be unequipped from a target mob by right-clicking with Shears. Defaults to <code>false</code>.
*** {{Nbt|string}}{{Nbt|compound|shearing_sound}}: {{Json ref|sound event|inline=1}} to play when the item is sheared. Defaults to <code>item.shears.snip</code>.
*** {{Nbt|string}}{{Nbt|compound|shearing_sound}}: {{Json ref|server-side sound event|inline=1}} to play when the item is sheared. Defaults to <code>item.shears.snip</code>.
**** {{nbt inherit/sound event|sounds}}
</onlyinclude>
</onlyinclude>
</div><noinclude>
</div><noinclude>
Line 19: Line 20:
{{notelist}}
{{notelist}}
[[Minecraft:fr:Format de composant de données/equippable]]
[[Minecraft:fr:Format de composant de données/equippable]]
[[Minecraft:ja:アイテムフォーマット/equippable]]
[[Minecraft:ja:データコンポーネント/equippable]]
</noinclude>
</noinclude>


[[Category:Data component format subpages]]
[[Category:Data component format subpages]]

Latest revision as of 11:46, 20 July 2026

Notes

Template:Notelist Minecraft:fr:Format de composant de données/equippable Minecraft:ja:データコンポーネント/equippable

Contents