In-game, while killing zombified piglins (used Looting 3, Sharpness 4, Unbreaking 3, Mending 1, Knockback 2 sword), 3 golden swords were dropped. One is enchanted with sharp 2 (swordB), the two others are not enchanted (swordA and swordC). swordA and swordB both have durabilities 0/32 (shown in screenshots "swordA"&"swordB"), which is not correct since the tool breaks at 0 durability. swordC had durability 1/32 (screenshot "swordC"). I renamed the swords from "Golden Sword" to the corresponding names on an anvil, and proceeded to experiment.
Experiments:
Shown in attached screenshots, indicated by png name (ex. screenshot "a+b_crafting" is swordA and swordB being combined in a crafting table; screenshot "a+c_anvil" is swordA and swordC being combined on an anvil). Results are not what I have expected (combining durabilities, the numbers doesn't add up correctly).
Note: My client is modded with mainly optomization mods. If mod names and versions needed, please comment and I will add screenshots.
Thank you for your report!
We're actually already tracking these issues in MC-136374 and MC-18570, so this ticket is being resolved and linked as a duplicate.
However, these tickets have been resolved as Won't Fix and Works as Intended respectively.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 💬 Mojira Discord