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

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 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
    • None
    • None
    • Confirmed
    • UI

    Description

      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.

      Attachments

        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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                CHK: