The minecraft:equipment
item component allows an entity to wear this item in a specific slot.
This item component is usually combined with minecraft:armor and minecraft:damageable.
Name | Description | Type | Default Value |
---|---|---|---|
slot | The equipment slot to place the item in. | An equipment slot | |
swappable | Whether this item may be swapped with another item in its slot. | An optional boolean | false |
equip_sound | The sound event to play when equipping the item. | A sound event |
{ "slot": "head", "swappable": true, "equip_sound": "minecraft:item.armor.equip_iron" }