When downloading, please make sure to go to the Files tab, and download the version for your modloader. The files have "fabric" or "forge" in their name. Curseforge doesn't always show the correct versions on the main page.
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.
- 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).