mojira.dev
MC-173858

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

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

Linked issues

Attachments

Comments 3

Can reproduce

Though in 20w10a, has fixed MC-172242, it makes piglins always be right handed, which also fixes MC-152359. This should be fixed too, instead of just making piglins always spawning as right handed.

Maybe MC-172242, because left-handed piglin will look their weapon on the left handed, so the fix code they will prevent the left-handed piglins to spawning. please provide fix code for make left-handed piglin looks right hand gold item on MC-172242 and reopened it.

[Mod]Les3awe

migrated

Confirmed

Commands

20w10a

20w11a

Retrieved