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

hotbar.nbt is not rewritten after being upgraded


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.14.4, 1.15 Pre-release 1, 1.16.1, 20w27a, 1.20.4, 24w05a, 24w11a
    • Confirmed
    • (Unassigned)

      The bug

      After hotbar.nbt is upgraded, the file is not rewritten. This is noticeable in game by a minor lag spike that occurs when pressing the "Saved Toolbars" tab (occurs the first time every launch).

      How to reproduce

      1. Add the attached hotbar.nbt (from 1.12.2) to your .minecraft directory
      2. Start up the game in the latest version
      3. Press the "Saved Toolbars" tab in the creative menu
        → Notice the game freezes for a split second
      4. (Optional) Open the hotbar.nbt file with a NBT editor
        → Notice the file was not rewritten to use new IDs

            Unassigned Unassigned
            Neko [Mod] Neko
            6 Vote for this issue
            2 Start watching this issue