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

Respawning causes your hotbar to reset to the first space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.2, Minecraft 19w05a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 20w30a, 20w51a, 21w03a, 1.16.5, 21w06a, 21w08b, 21w11a, 1.17.1, 21w43a, 1.18.2, 22w18a, 1.19, 1.19.2, 1.20.1, 1.20.4, 23w51b
    • None
    • Confirmed
    • UI

      The Bug:

      Hotbar selection resets to slot 0 upon death.

      Steps to Reproduce:

      • Give yourself two different items held in different hotbar slots.
      • /item replace entity @s hotbar.0 with minecraft:dirt
        /item replace entity @s hotbar.1 with minecraft:deepslate
      • Hold the deepslate in your hand and set the "keepInventory" gamerule to "true".
      • /gamerule keepInventory true
      • Run the "/kill" command.
      • Take note as to whether or not hotbar selection resets to slot 0 upon death.

      Observed Behavior:

      Hotbar selection resets to slot 0 upon death.

      Expected Behavior:

      Hotbar selection would not reset to slot 0 upon death.

        1. 2019-01-31_14.58.03.png
          2019-01-31_14.58.03.png
          352 kB
        2. 2019-01-31_14.58.07.png
          2019-01-31_14.58.07.png
          99 kB
        3. MC-143474.mp4
          3.46 MB

            Unassigned Unassigned
            GreenPlanet669 GreenPlanet669
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: