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.

You don't have to set these properties, if you don't want the plugin to handle custom durability just disable custom_durability in config.yml

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

Be sure not to confuse with the real vanilla durability if you have F3+H enabled

Durability can be applied to:

  • Swords

  • Guns

  • Armors

  • Fishing rods

  • Tools

  • Bows

  • Shields

Last updated