Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-173858

Unable to set "LeftHanded" to "1b" for piglins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w11a
    • 20w10a
    • None
    • Confirmed
    • Commands

      The bug

      Unable to set "LeftHanded" to "1b" for piglins.
      Still use right hand to hold items or weapons.

      How to reproduce

      1. Summon a piglin with a weapon and left handed:
        /summon piglin ~ ~ ~ {LeftHanded:1b,HandItems:[{id:iron_sword,Count:1}]}
        

        Notice that the piglin is still holding the weapon with it right hand.

      2. Use the following command:
        /data get entity @e[type=minecraft:piglin,distance=..3,limit=1]
        

        Notice that LeftHanded is still 0b

        1. 2020-03-07_00.12.11.png
          285 kB
          [Mod] Les3awe
        2. 2020-03-07_00.12.26.png
          722 kB
          [Mod] Les3awe
        3. 2020-03-07_00.12.53.png
          1.10 MB
          [Mod] Les3awe

            hkniberg hkniberg
            Les3awe [Mod] Les3awe
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: