Durability

ItemsAdder has a custom durability system that you can decide to use or not

If you want to set a custom durability for a specific tool you can! For example:

custom_sword:
  enabled: true
  permission: custom_sword
  model_id: 1
  vanilla_type: DIAMOND_SWORD
  name: '&fTest'
  specific_properties:
    attack_damage: 8
    attack_speed: 1.2
    max_custom_durability: 200
    custom_durability: 32
    disappear_when_broken: false
    unbreakable: false #it's the Minecraft vanilla attribute

As you can see there are two special properties max_custom_durability, custom_durability and disappear_when_broken.

max_custom_durability: max durability disappear_when_broken: If the item must disappear when durability reaches 0 custom_durability: starting amount of durability

As you can see there is an indicator of the custom durability
It's precise as vanilla

Last updated

Was this helpful?