Giselbaer's Durability Viewer
Make sure you download the correct file. Do not use the sidebar!
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.
Want to help translate this mod to your language?
You can help me translate this mod on https://crowdin.com/project/durabilityviewer.
Looking for weekly versions?
Publishing a mod to CurseForge does, unfortunately, involve a lot of manual work. For this reason, starting with 21w03a, I'll only publish weekly versions on Modrinth, where publishing a version is just one button click for me. You can find weekly versions for all my mods on https://modrinth.com/mods?q=Giselbaer&s=downloads. Versions for official MC versions will still be published here.
Mod description
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!
Some screenshots:
Configuration
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/1.15: 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.
- Forge 1.16: You can configure the mod by pressing CTRL and the show/hide button (default is h)
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).
(Using 1.16.4 fabric) Any time I try to open the configurations menu the game crashes (Both with and without ModMenu) I get an error that says "The game crashed whilst mouseclicked event handler
Error: java.lang.NullPointerException: mouseClicked event handler
Exit Code: -1"
That's probably a mismatch between mod version and Minecraft version - are you sure you're using the correct one? If so, please post the Minecraft log to a site like pastebin and link it here; I can't really do anything without the log.
In reply to Giselbaer:
I did a dumb and accidently downloaded the wrong version lol
Small thing, but it bothers me a little bit, that in the 1.12.2 version of the mod, it shows item durability (the purple text by default) inside of inventories without leaving a space behind. For example: "Durability:306 / 1561", where I expect it to be: "Durability: 306 / 1561", if you know what I'm talking about. I know it's fixed in the newer MC versions.
What the mod needs:
clock hud (refer to rpg hud's by Akira) & coordinates w/ x|y & n|s|e|w [time and direction durability? shows if you're really lost]
hearts on mobs and damage indicator? [mob durability?]
waypoints [same as the first one, direction durability?]
consider adding the clock hud and coordinates it can be very handy.
What do coordinates, clock, and hearts on mobs have to do with durability? And waypoints belong into a map mod like VoxelMap, really.
That said, check out my WorldTime mod, which can show you the ingame time and real (wallclock) time, and your coords. Different mods for different tasks so people can select which mod they want for which task.
Running 1.12.2, using it as an extra mod in RLCraft. Probably not the intended use, but whatever.
When i join a server, it appears that only the status effect viewer works, but not the durability & free inventory slot information. The server i am connected to does not have the mod installed. Does the mod use serverside mod magic to calculate the durability of worn/equipped items and relay them to the client's screen, or is there something else i'm missing?
Edit: The ripping sound/low durability warning sound doesn't seem to work either.
No, the mod is client-side only, the server does not need to have it (and it won't do anything on the server either).
There is a hotkey to turn the HUD on and off, normally H, but configurable in options. Maybe you need to use that.
Also, older versions of the mod did not show the HUD in creative mode (because you don't need to watch durability then). I turned that off in later versions because it caused confusion, but as you're using 1.12.2, that might just be the reason why you're not seeing anything (and I'm not 100% sure but I think the sound is disabled as well when the HUD is off).
In reply to thorgeig:
Nope. I mashed the HUD toggle keybind to hell and back, but nope. Everything else but the status effect HUD worked only in singleplayer.
Edit: When i connect to the server, the free slots indicator is visible for a split second before disappearing. Hmmmm.
Also tried mashing the HUD toggle keybind once more for good measure, still no dice.
I'm not sure if I'm doing something wrong, but the effect icon doesn't work on server. Any ideas to somehow fix my issue?
You can turn the effect duration display off in the options, maybe you did that?
Else, just to make it clear, installing the mod on the server won't do a thing. (Except it might prevent server from starting in some versions). It's a pure client side mod, and it doesn't care at all if you're in a local game or connected to a server.
can we expect a forge version anytime soon?
The 1.16.4 version for Forge works with 1.16.5 as well. The main reason I updated the Fabric version is a few more language supports.
In reply to thorgeig:
ahh I see, my bad. The 1.16 forge version didn't show up on the main page. I had to go to the files tab. Thanks for the reply !
Love the mod, but how do you change the position of where the hud is?
See the last section "Configuration" in the description, you can move the hud between all 4 corners
In reply to thorgeig:
Pressing CTRL + H just hides the durability and doesnt open and configs or move it.Nvm I'm stupid. I was looking at forge settings while running fabric.
I'm enjoying this mod so far! Much much much needed functionality.
My biggest request is that you add a way to adjust the size independently from the rest of your UI. With the settings/screen I use, I wish I could drop the size of your UI without shrinking everything else.
Additionally, possibly the ability to nudge the location of the UI in each corner to dodge other mod elements.
When for fabric 1.16.4?nevermind, i found it