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

Durability bar display error at negative durability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2
    • None
    • Confirmed
    • Rendering, UI
    • Low

      The Bug

      In 1.15, If the durability of the item is lower than 0 (negative number), the condition on the picture will be displayed

      In 1.14.4, items below 0 durability will show the same durability bar as 0 durability

      How to Reproduce

      Give yourself an item with negative durability, e.g.

      /give @s minecraft:golden_axe{Damage: 114548}
      

        1. 2023-09-02_09.47.43.png
          196 kB
          Connor Steppie
        2. image-2019-12-15-00-24-35-440.png
          152 kB
          nightsnowlin
        3. image-2019-12-15-00-36-19-820.png
          126 kB
          nightsnowlin

            Unassigned Unassigned
            hank0531 nightsnowlin
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: