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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w10a
    • Fix Version/s: 20w11a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hkniberg [Mojang] Henrik Kniberg
              Reporter:
              Les3awe [Mod] Les3awe
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: