net.minecraft.src.forge
Interface ISpecialArmor


public interface ISpecialArmor

This interface is to be implemented by ItemArmor classes. It will allow to modify computation of damage and health loss. Computation will be called before the actual armor computation, which can then be cancelled.

See Also:
ItemArmor

Method Summary
 int adjustArmorDamage(int damage)
          This interface will adjust the amount of damage received by the entity.
 boolean allowRegularComputation()
          When this return true, the regular armor computation will be cancelled
 

Method Detail

adjustArmorDamage

int adjustArmorDamage(int damage)
This interface will adjust the amount of damage received by the entity.


allowRegularComputation

boolean allowRegularComputation()
When this return true, the regular armor computation will be cancelled