minecraft:equip_item for you with a switch.Get GodCraftOverview
minecraft:equip_item is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets the entity pick up items and wear or hold them.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
excluded_items | List | none | Items the entity will never equip. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:equip_item": {
"excluded_items": {}
}
}