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

LeftHanded nbt tag missing for players

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 19w44a, 22w17a, 24w40a, 1.21.3, 1.21.4
    • None
    • Confirmed
    • Commands

      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.

            Unassigned Unassigned
            sof sofia
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: