| Package | Description |
|---|---|
| com.chrismin13.additionsapi.durability | |
| com.chrismin13.additionsapi.items |
| Modifier and Type | Method and Description |
|---|---|
ArmorDurability |
ArmorDurability.setDamageCuasesWithDurability(java.util.ArrayList<org.bukkit.event.entity.EntityDamageEvent.DamageCause> damageCuasesWithDurability)
Set the
EntityDamageEvent.DamageCauses that will affect the Armor's Durability. |
ArmorDurability |
ArmorDurability.setThornsExtraDamage(int thornsExtraDamage)
Set the extra durability that will be reduced in case the Armor has the
Thorns Enchantment.
|
ArmorDurability |
ArmorDurability.setThornsExtraDamageOnHit(int thornsExtraDamageOnHit)
Set the extra amount of damage that will be dealt in case the Thorn
enchantment hits back the entity that attacked the player that wears this
armor piece.
|
| Modifier and Type | Method and Description |
|---|---|
ArmorDurability |
CustomArmor.getDurabilityMechanics() |
| Modifier and Type | Method and Description |
|---|---|
CustomArmor |
CustomArmor.setDurabilityMechanics(ArmorDurability armorDurability)
These determine how the durability of the CustomArmor, both for Fake and
real durability, will drop.
|