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

minecraft:equip_item

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

Overview

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

FieldTypeDefaultDescription
excluded_itemsListnoneItems 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": {}
  }
}

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