mojira.dev
MC-165016

LeftHanded nbt tag missing for players

No value is stored in the player NBT to indicate which hand is set as their main hand in settings.

Expected behaviour

It is expected that since players inherit most of the applicable NBT tags stored by mobs, the LeftHanded tag would also be included.

Actual behaviour

There is no LeftHanded tag stored in the player's NBT.

Steps to reproduce

  • Use the following command on a skeleton:

    /data get entity @e[type=skeleton,limit=1] LeftHanded
  • Use the same command for the player

    /data get entity @p LeftHanded
  • Observe that there is no LeftHanded tag for the player but there is for mobs.

Linked issues

Comments 2

Affects 24w40a. Looking to request ownership to maintain the report/update the description.

This is a feature request. This tag has always been exclusive to Mobs, and lack of an NBT tag is not a bug, unless it results in loss of data, which is not the case here.

Don't get me wrong, being able to detect left-handedness of players would be great, but it's not a bug.

Powell Whitaker

sof

(Unassigned)

Confirmed

Commands

1.14.4, 19w44a, 22w17a, 24w40a, 1.21.3, 1.21.4

Retrieved