Durability Damage Recipe

Durability Damage Recipe

A mod adding 2 new crafting recipe types that damage damageable input items instead of consuming them during crafting. These recipe types are ready to use in your mod or data pack!

by
768 Downloads
fabricequipmentgame-mechanicslibrary
Rent Server with this Mod

Screenshots

...Not Enough Durability
Example Recipe: Crafting Flint from Gravel
Not Enough Durability...
Treatise Documentation

About this Mod

Durability Damage Recipe

Description

This mod adds 2 new recipe types that damage damageable input items instead of using them up, ready to use in your mod or data pack!

An example usage would be a recipe to craft gravel with a shovel to get flint, returning the shovel with some durability loss.

Let your imagination run wild!

Features:

  • New recipe types: durabilitydamagerecipe:crafting_damage_shapeless and durabilitydamagerecipe:crafting_damage_shaped
  • These recipe types are similar to the minecraft:crafting_shapeless and minecraft:crafting_shaped recipe types, but accept an additional parameter: damage
  • Damage defaults to 1 and controls the amount of damage applied to damageable items used in these crafting recipes
  • If a recipe's damage is greater than the remaining durability of any of the damageable input items, crafting is not possible
  • Crafter block will eject damageable items after performing the craft
  • Configurable display of "not enough durability" notifications when crafting or using Crafter block
  • In-game documentation is available via Treatise if installed
  • In-game configuration is available via Mod Menu if installed

The durability damage taken by an item is currently not affected by the item's enchantments, like Unbreaking.

Using the recipes:

Click here to learn how to create a data pack if you don't know how.

Recipe .json files should be added to the data/<namespace>/recipe folder.

Example 1.21.4/5 custom_shapeless_recipe.json:

{
  "type": "durabilitydamagerecipe:crafting_damage_shapeless",
  "category": "misc",
  "group": "flint",
  "ingredients": [
    "minecraft:gravel",
    "#minecraft:shovels"
  ],
  "damage": 1,
  "result": {
    "count": 1,
    "id": "minecraft:flint"
  }
}

Example 1.21.4/5 custom_shaped_recipe.json:

{
  "type": "durabilitydamagerecipe:crafting_damage_shaped",
  "category": "building",
  "group": "cobblestone",
  "key": {
    "S": "minecraft:stone",
    "P": "#minecraft:pickaxes"
  },
  "pattern": [
    "SSS",
    "SPS",
    "SSS"
  ],
  "damage": 8,
  "result": {
    "count": 8,
    "id": "minecraft:cobblestone"
  }
}

Example 1.21.1 custom_shapeless_recipe.json:

{
  "type": "durabilitydamagerecipe:crafting_damage_shapeless",
  "category": "misc",
  "group": "flint",
  "ingredients": [
    {
      "item": "minecraft:gravel"
    },
    {
      "tag": "minecraft:shovels"
    }
  ],
  "damage": 1,
  "result": {
    "count": 1,
    "id": "minecraft:flint"
  }
}

Example 1.21.1 custom_shaped_recipe.json:

{
  "type": "durabilitydamagerecipe:crafting_damage_shaped",
  "category": "building",
  "group": "cobblestone",
  "key": {
    "P": {
      "tag": "minecraft:pickaxes"
    },
    "S": {
      "item": "minecraft:stone"
    }
  },
  "pattern": [
    "SSS",
    "SPS",
    "SSS"
  ],
  "damage": 8,
  "result": {
    "count": 8,
    "id": "minecraft:cobblestone"
  }
}

Config:

Crafting grid "not enough durability" options: "OFF", "ON", "LORE_FRIENDLY"

Crafter "not enough durability" options: "OFF", "ON", "LORE_FRIENDLY"

Example .minecraft/config/durabilitydamagerecipe.json:

{
  "craftingNotificationOption": "ON",
  "crafterNotificationOption": "ON"
}

Support

If you have a bug report, feature request, or any other type of issue, please post on our GitHub issues page. This is an issues page for all of our mods, so be sure to include the mod's name and version in your post. We appreciate all feedback!

If you'd like to support development, you can leave a tip at our BuyMeACoffee. Only if it's within your means- otherwise, using, sharing, and enjoying the mod is support enough. Thank you!

Available Versions

Durability Damage Recipe 1.21.8-1.0.1release
MC 1.21.8fabric
August 5, 2025
Durability Damage Recipe 1.21.7-1.0.1release
MC 1.21.7fabric
July 14, 2025
Durability Damage Recipe 1.21.5-1.0.1release
MC 1.21.5fabric
May 17, 2025
Durability Damage Recipe 1.21.4-1.0.1release
MC 1.21.4fabric
May 17, 2025
Durability Damage Recipe 1.21.1-1.0.1release
MC 1.21.1fabric
May 17, 2025

How to Install Durability Damage Recipe on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).

3

Install Mod

Open the mod browser in the dashboard and search for "Durability Damage Recipe". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.8, 1.21.7, 1.21.5 (+2 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Durability Damage Recipe server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.

Is Durability Damage Recipe compatible with fabric?

Durability Damage Recipe officially supports fabric for Minecraft 1.21.8, 1.21.7, 1.21.5. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Durability Damage Recipe – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Durability Damage Recipe consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Durability Damage Recipe with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.81.21.71.21.51.21.41.21.1