1. Wiki
  2. /Entities
  3. /minecraft:equippable

minecraft:equippable

Don't want to write this by hand? GodCraft sets minecraft:equippable for you with a switch.Get GodCraft

Overview

minecraft:equippable is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets players put items like saddles or armor onto the entity in specific slots, like a horse wearing a saddle and horse armor.

Fields

FieldTypeDefaultDescription
slotsListnoneList of slots, each with the items it accepts and the events fired when something is put on or taken off.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:equippable": {
    "slots": {}
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more