minecraft:equippable for you with a switch.Get GodCraftOverview
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
| Field | Type | Default | Description |
|---|---|---|---|
slots | List | none | List 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": {}
}
}