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

minecraft:entity_armor_equipment_slot_mapping

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

Overview

minecraft:entity_armor_equipment_slot_mapping is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Chooses which armor slot gets the item placed in the second slot of minecraft:equippable. The game already sets this for newer worlds, so you usually should not add it yourself.

Fields

FieldTypeDefaultDescription
armor_slotStringnoneArmor slot that receives the item, such as slot.armor.body.

Example

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

BP/entities/<name>.json
{
  "minecraft:entity_armor_equipment_slot_mapping": {
    "armor_slot": ""
  }
}

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