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:
1
custom_sword:
2
enabled: true
3
permission: custom_sword
4
model_id: 1
5
vanilla_type: DIAMOND_SWORD
6
name: '&fTest'
7
specific_properties:
8
attack_damage: 8
9
attack_speed: 1.2
10
max_custom_durability: 200
11
custom_durability: 32
12
disappear_when_broken: false
13
unbreakable: false #it's the Minecraft vanilla attribute
Copied!
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
As you can see there is an indicator of the custom durability
It's precise as vanilla
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
Copy link