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.

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

              Created:
              Updated:
              Resolved: