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
Enable advanced tooltips
/give @s golden_pickaxe[minecraft:damage=40]
Expected results
The durability would read as -8.
Actual results
The durability reads as 0.
Linked issues
relates to 2
Attachments
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm