User Tools

Site Tools


items:item_components:equipment

Table of Contents

minecraft:equipment

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.

Fields

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

Example

{
  "slot": "head",
  "swappable": true,
  "equip_sound": "minecraft:item.armor.equip_iron"
}
items/item_components/equipment.txt · Last modified: 2024/04/19 15:27 by errorcraft