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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 20w11a
    • 20w10a
    • None
    • Confirmed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: