Home›Java›Mods›Custom Durability
Custom Durability
ModsJava

Custom Durability

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by GravityIO · on CurseForge

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21⬇ Download for 1.20.5–1.20.6⬇ Download for 1.20–1.20.4
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Custom Durability

A Fabric Mod that allows for changing the durabilities of all items.

Overview

Change any item's durability with a Command!

Should work on Integrated Servers and Dedicated Servers.\ Requires FAPI\ Need on Client: ✅ Need on Server: ✅\ **Report any Issues on GitHub **

Haven't tested modded items, I'm mainly just targetting this mod for Vanilla, since it's what I wanted… it probably? should? work with modded items?

Sample

Commands

A bunch of commands to help you set the durability of an item using its ID or Tag, or bulk setting by using wildcards


Some Examples:

Setting a diamond pickaxe's durability to 5000:\ /cd set item diamond_pickaxe 5000

Setting all diamond tools durability to 5000:\ /cd set item #cd:tools/diamond 5000

An example attempt of setting all minecraft diamond tools to 5000 using wildcards:

cd set wildcard minecraft:*diamond* 5000

This then puts it into your temporary context, which would match with all diamond tools, and diamond armor, which you don't want, you'd then have to either:


Context

/cd set wildcard doesn't immediately put all the items it matches into your main config, in order to not add things the wildcard wasn't supposed to get, it puts it in a temporary config that you can remove or edit the entries until you decide to apply it to the main config, either through /cd context confirm or by clicking the button shown after running /cd set wildcard command (or shown in the /cd context list command).


✖ Armor Multiplier

The Armor Multiplier option is so that you can use a base vanilla value that will multiply your inputted durability, so if you put 5 for boot armor, it would get multiplied by 13, so you'd get what, 65? (this is how vanilla does it, and is why helmets, chestplates, leggings and boots don't share the same durability)

Default Multipliers:


🕮 Helpful Tags

I added some tags that should help with some of the more common items:

You'd use these by for example doing:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more