Package | Description |
---|---|
com.chrismin13.additionsapi.events.armor | |
com.chrismin13.additionsapi.items | |
com.chrismin13.additionsapi.items.textured |
Constructor and Description |
---|
PlayerCustomArmorDamageEvent(org.bukkit.event.player.PlayerItemDamageEvent event,
CustomArmor cArmor,
org.bukkit.event.entity.EntityDamageEvent.DamageCause damageCause,
short durability) |
PlayerCustomArmorDamageEvent(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack item,
CustomArmor cArmor,
boolean usedThorns) |
PlayerCustomArmorDamageEvent(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack item,
CustomArmor cArmor,
org.bukkit.event.entity.EntityDamageEvent.DamageCause damageCause,
float damage,
boolean hadThorns) |
PlayerCustomArmorDamageEvent(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack item,
CustomArmor cArmor,
org.bukkit.event.entity.EntityDamageEvent.DamageCause damageCause,
short durability) |
Modifier and Type | Class and Description |
---|---|
class |
CustomLeatherArmor
A Custom Armor that is made of a leather armor material.
|
Modifier and Type | Method and Description |
---|---|
CustomArmor |
CustomArmor.addArmor(double amount)
Adds the
Attributes.AttributeType Armor with the amount specified using the
addition operation. |
CustomArmor |
CustomArmor.addArmorToughness(double amount)
Adds the
Attributes.AttributeType Armor Toughness with the amount specified
using the addition operation. |
CustomArmor |
CustomArmor.addAttribute(Attributes.AttributeType type,
double amount,
Attributes.Operation operation)
Adds an Attribute to the CustomItem.
|
CustomArmor |
CustomArmor.setDurabilityMechanics(ArmorDurability armorDurability)
These determine how the durability of the CustomArmor, both for Fake and
real durability, will drop.
|
Modifier and Type | Class and Description |
---|---|
class |
CustomTexturedArmor
A
CustomItem that contains at least one Texture since it implements
ModelInjector. |
class |
CustomTexturedLeatherArmor
A
CustomItem that contains at least one Texture since it implements
ModelInjector. |