1. Wiki
  2. /实体
  3. /minecraft:entity_armor_equipment_slot_mapping

minecraft:entity_armor_equipment_slot_mapping

不想手写?在 GodCraft 里打开一个开关,就能帮你设置好 minecraft:entity_armor_equipment_slot_mapping。Get GodCraft

概览

minecraft:entity_armor_equipment_slot_mapping 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 选择放进 minecraft:equippable 第二个栏位的物品对应哪个盔甲栏位。新世界中游戏已经会自动设置,所以通常不需要你自己添加。

字段

字段类型默认值说明
armor_slotString无接收物品的盔甲栏位,比如 slot.armor.body。

示例

写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):

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