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

Items damaged more than their max damage display a durability of 0 instead of actual value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 24w13a
    • None
    • Confirmed
    • Items, UI

      The bug

      If an item's damage exceeds (rather than equals) its maximum durability, the durability (F3+H) will display as 0, even though it's a negative number.

      This did not happen in 1.20.4.

      How to reproduce

      1. Enable advanced tooltips
      2. /give @s golden_pickaxe[minecraft:damage=40]

      Expected results

      The durability would read as -8.

      Actual results

      The durability reads as 0.

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

              Created:
              Updated:
              Resolved:
              CHK: