Language

Custom Durability (NBT)

Custom Durability (NBT)

Modrinth

A Fabric mod that allows you to customize the max durability of items with a "maxDamage" NBT tag

434 downloads 1 followers updated 13mo ago
latest v1.0.0 Modrinth
Fabric 1.20.1 – 1.20.1 Utility

A Fabric mod that lets you change the max durability of an item through an NBT tag. Very heavy inspiration from this Forge mod: Customizable Max Durability

Example 1 (A Command)

/give @s bow{maxDamage:1337}

Example 2 (A Datapack Recipe)

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    " MS",
    "M S",
    " MS"
  ],
  "key": {
    "M": {
      "item": "minecraft:iron_ingot"
    },
    "S": {
      "item": "minecraft:string"
    }
  },
  "result": {
    "item": "minecraft:bow",
    "count": 1,
    "nbt": "{maxDamage:1337}"
  }
}

Versions

Release
1.0.0
fabric · 1.20.1 · 13mo ago
initial version
434

Comments 0

No comments yet. Be the first to share your thoughts.

Download Custom Durability (NBT)

Files are served directly from the original source. Modgrid does not host or modify them.