This mod allows players on Servers with the McMMO Plugin to see Durability Bars and Available Max Consumes on the Item itself instead of only the tooltip. You can change the NBT Tag's and the color for the Consume Value to allow support for other Plugins/Modpacks.
https://www.curseforge.com/minecraft/mc-mods/mcmmo-durability-viewer https://modrinth.com/mod/mcmmo-durability-viewer
https://github.com/Meridanus/McmmoDurabilityViewer
https://www.curseforge.com/minecraft/mc-mods/cloth-config
https://www.curseforge.com/minecraft/mc-mods/modmenu
This mod is available under the MIT license. Feel free to learn from it and incorporate it in your own projects.
To Jake (notIrma)