Custom Durability (NBT)

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

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}"
  }
}

The Custom Durability (NBT) Team

profile avatar
  • 2
    Projects
  • 153
    Downloads

More from fusionbolt18