Download CustomDurability — Minecraft Mods — MetaMods
CustomDurability

CustomDurability

Active

Downloads

0

Last update

1 year ago

Versions

1.19.4 — 1.21
Client and server
Fabric
Weapons and armor
Game mechanics
Utils

CustomDurability

A Fabric mod that provides the ability to change the durability of absolutely all items in the game.

Main Features

Using simple commands, you can configure the durability of any item according to your preferences!

Works on both local and dedicated servers
Requires installation of Fabric API
Required on client: ✅ Required on server: ✅

The mod is mainly tested with vanilla items, but theoretically should work with items from other mods

Mod usage example

Available Commands

A set of commands for configuring item durability by their ID, tags, or using wildcards

  • /cd armorMultiplier [True or False]
    enables/disables the use of vanilla multipliers for armor
  • /cd clear [Optional Item ID or tag]
    resets all configured items to standard vanilla durability
    without additional arguments clears all durability settings
    with specified item or tag - clears only the specified elements
  • /cd list
    displays a list of all items, tags, and their new durability
  • /cd set item [Item ID or tag] [Durability]
    sets durability for an item or group of items
  • /cd set wildcard [String with wildcards] [Durability]
    adds items by wildcard to temporary context
  • /cd context list
    shows all items in the current context
  • /cd context clear [Optional Item ID]
    clears all items in the current context
  • /cd context set item [Item ID or tag] [Durability]
    sets durability for an item in the current context
  • /cd context set all [Durability]
    sets the same durability for all items in the context
  • /cd context filter [TOOL / WEAPON / ARMOUR / OTHER]
    filters items in the context by the specified type (KEEPS the selected type)
  • /cd context confirm
    applies all settings from the current context to the main configuration
  • /cd context cancel
    cancels the current context

Usage Examples:

Setting diamond pickaxe durability to 5000:
/cd set item diamond_pickaxe 5000

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

Example of using wildcards for all diamond tools:
cd set wildcard minecraft:diamond 5000

This places all found items into temporary context, including diamond armor which you might not want to change. You can then:

  • click the tool filtering button Keep all: [TOOL] [WEAPON] [ARMOUR] [OTHER]
  • execute /cd context filter TOOL to keep only tools
  • manually remove armor items

Temporary Context

The /cd set wildcard command doesn't immediately add found items to the main configuration. Instead, it places them in a temporary context where you can edit or delete entries before final application via /cd context confirm or the corresponding button.


✖ Armor Multiplier

The Armor Multiplier option allows using standard vanilla multipliers that multiply the entered durability value. For example, if you set 5 for boots, they will receive a multiplier of 13, resulting in a final durability of 65.

Standard multipliers:

  • Helmet: 11
  • Chestplate: 16
  • Leggings: 15
  • Boots: 13

🕮 Useful Tags

Added tags for convenient work with common item groups:

  • #cd:tools
    • wood
    • stone
    • iron
    • gold
    • diamond
    • netherite

  • #cd:armor
    • leather
    • chainmail
    • iron
    • gold
    • diamond
    • netherite
  • Usage examples:

    • For wooden tools: /cd set item #cd:tools/wood [durability]
    • For leather armor: /cd set item #cd:armor/leather [durability]
    Project members
    GravityIO

    GravityIO

    Developer

    Created: 2 Oct 2023

    ID: 14355