1.16/20w06 update: It seems like the 1.15 version of the mod works as well, as long as you update the Fabric API (hint: https://www.curseforge.com/minecraft/mc-mods/fabric-api/files/2875599)
1.16/20w10a: The 1.15 version doesn't work anymore, I uploaded a version compiled for that. Please give feedback about what works and what doesn't for you.
Main development is now on Fabric, but I made a Forge 1.14.4 version available due to popular request.
Version 1.5 adds the option to show your armor items around the hotbar. Done for Rift (1.13.2), and Fabric (1.14, 1.15).
Version 1.6 adds an option to disable the chest / free inventory space icon, and fixes the bug with the shield slot in "armor around hotbar" mode.
Version 1.6.1 has support for the Trinkets mod (https://www.curseforge.com/minecraft/mc-mods/trinkets-fabric), (No reason to update unless you use that mod)
Version 1.7 fixes the armor-around-toolbar + main-hand-left bug, plus some translation issues in the forge 1.14.4 version.
This is another mod that shows your item durabilities as I couldn't find one that had everything I wanted.
Differences to other similar mods are:
- Show item durability numbers in color (green/white/yellow/red) depending on items state
- Items that are at almost 100% show damage, not durability. For example, your diamond pick that was used 5 times will show -5, not 1556. Great when you're using the mending enchantment to fix your stuff and don't know the exact number you want to reach
- Also show number of empty inventory slots; know at a glance if you can continue mining or should return to your chest
- Shows the amount of time for your buffs to run out so you don't have to press E to check whether that water breathing potion lasts for another minute (can be turned off in options)
- Play a warning sound when your item is about to break; stop losing your Efficiency V pick to not looking at the GUI. The warning will play when your item is at less than 10% AND less than 100 - since 1.4, these values can be configured.
- (Since 1.4) Set your window title to "<Username> on <Server>" so if you have more than one instance of MC open you can alt-tab to the one you're looking for easily. Can be turned off in options.
Durability Viewer was the first mod I ever made, and the fact that 61352151511 made the source code for his Durability Show (https://minecraft.curseforge.com/projects/durability-show) available on GitHub helped a lot. Thank you very much!
All versions are configurable, but the way to configure them depends on the version and mod loader you're using.
Forge until 1.12: Use the Forge-built in Mod config options.
Rift 1.13: There's a book icon in the right top of the main and pause screen, click that.
Fabric without ModMenu: Same as Rift.
Fabric with ModMenu: Use the cogwheel icon that ModMenu shows when you select the mod.
Forge 1.14: You'll have to edit the config file yourself. Check out the config .json file, which is in the config folder, next to the "mods" folder.
Configuration has two options that control the ripping sound - less than percent and less then absolute durability. The ripping sound will only be played when durability is lower than both of them, so setting them to zero will make the sound play only when your item finally breaks.
If you want to replace the sound, open the .jar file in a zip utility (7zip, winzip, winrar, ...). and replace the assets/durabilityviewer/sounds/tool_breaking.ogg file with your own. Or, remove that file from the jar to get rid of the sound forever (or at least until you redownload the jar file).
To make sure the mod doesn't slow down your minecraft, it has been optimized using jprofiler (https://www.ej-technologies.com/products/jprofiler/overview.html).