Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-177627

NPC won't show items held in his hand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.51 Hotfix, 1.20.60
    • None
    • Confirmed
    • Multiple
    • 1174614

      I used the command "replaceitem @e[type=npc] slot.weapon.mainhand 0 iron_sword" to a NPC, but found it was nothing appeared in his hands. 

      Actually it happens in any mobs having component "minecraft:npc".

      Even if I changed the render controller and other texture files, it won't work.

      Steps to Reproduce:
      1. Use the command replaceitem to change the item NPC is holding
      2. Observe what's in his hand

      Observed Results:
      Nothing turned up.

      Expected Results:
      Holding an given item .

        1. capture.mp4
          8.95 MB
        2. chara.animation_controllers.json
          2 kB
        3. chara.entity.json
          5 kB
        4. chara.json
          5 kB
        5. chara.render_controllers.json
          1 kB

            mingwangdada mingwangdada
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: