IronDefenseEvent

The Iron Defense Event is an event called when the player takes damage with an Iron Defense shield in their offhand.

Description
The IronDefenseEvent is a class that adds what the shield ItemStack being damaged is and the damage that will be done to the shield.

Constructor
IronDefenseEvent(LivingEntity damaged, int level, double damage, double newDamage, ItemStack shield, int shieldDamage)
 * // LivingEntity damaged - the damaged entity with a shield
 * // int level - the level of IronDefense
 * // double damage - the original damage of the event
 * // double newDamage - the damage applied after the called event
 * // ItemStack shield - the shield being damaged
 * // int shieldDamage - the damage being done to the shield

Implements
None

Extends
ESDamageEntityEvent

@Override void setNewDamage(double newDamage)
Sets the new damage to the given value. The newDamage cannot be higher than the original damage

int getShieldDamage
Returns the shieldDamage

void setShieldDamage(int shieldDamage)
Sets the shieldDamage to the specified value

ItemStack getShield
Returns the shield being damaged