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

Items with excess damage/negative durability display an arbitrarily long durability bar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 23w35a
    • None
    • Unconfirmed
    • (Unassigned)

      Re-reported version of MC-167972 as requested.

      The bug

      If an item is sufficiently damaged so that its remaining durability is a negative number, the durability bar can become incredibly long in the negative direction depending on damage level.

      How to reproduce

      1. Execute the following command:
        /give @s golden_pickaxe{Damage:2147483647}
      2. Observe

      Expected results

      No idea what I was expecting with this one. Prior to 1.15, it'd display as empty. In Alpha, it would refill in the normal direction as solid red.

      Actual results

      Comically long durability bar.

        1. 2023-09-03_15.57.11.png
          147 kB
          Connor Steppie
        2. 2023-09-03_15.57.21.png
          143 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: