编辑

通过


Entity Documentation - minecraft:equip_item

The entity puts on the desired equipment.

Equip Item Properties

Name Default Value Type Description Example Values
can_wear_armor false Boolean true/false If true, the entity can pick up and wear armor items from the ground.
excluded_items not set Array of Excluded Items items List of items that the entity should not equip. Bogged: [{"item":"minecraft:banner:15"}]

Excluded Items

Excluded Item Properties

Name Default Value Type Description Example Values
item not set String

Samples

Bogged

"minecraft:equip_item": {
  "excluded_items": [
    {
      "item": "minecraft:banner:15"
    }
  ]
}

Fox

"minecraft:equip_item": {
  "can_wear_armor": false
}