Skip to content

Custom Durability (NBT)

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

<1,000 downloads Updated

Last update on each platform

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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

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