From 877312184c472d9845e5ef1008bc538f4634059f Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:50:56 +0300 Subject: fix missing source folder --- .../net/minecraftforge/common/ISpecialArmor.html | 296 --------------------- 1 file changed, 296 deletions(-) delete mode 100644 javadoc/net/minecraftforge/common/ISpecialArmor.html (limited to 'javadoc/net/minecraftforge/common/ISpecialArmor.html') diff --git a/javadoc/net/minecraftforge/common/ISpecialArmor.html b/javadoc/net/minecraftforge/common/ISpecialArmor.html deleted file mode 100644 index dbf967a..0000000 --- a/javadoc/net/minecraftforge/common/ISpecialArmor.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - -ISpecialArmor (Forge API) - - - - - - - -
- - - - - -
- - - -
-
net.minecraftforge.common
-

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 Detail

      - - - -
        -
      • -

        getProperties

        -
        ISpecialArmor.ArmorProperties getProperties(EntityLivingBase player,
        -                                          ItemStack armor,
        -                                          DamageSource source,
        -                                          double damage,
        -                                          int slot)
        -
        Retrieves the modifiers to be used when calculating armor damage. - - Armor will higher priority will have damage applied to them before - lower priority ones. If there are multiple pieces of armor with the - same priority, damage will be distributed between them based on there - absorption ratio.
        -
        Parameters:
        player - The entity wearing the armor.
        armor - The ItemStack of the armor item itself.
        source - The source of the damage, which can be used to alter armor - properties based on the type or source of damage.
        damage - The total damage being applied to the entity
        slot - The armor slot the item is in.
        -
        Returns:
        A ArmorProperties instance holding information about how the armor effects damage.
        -
      • -
      - - - -
        -
      • -

        getArmorDisplay

        -
        int getArmorDisplay(EntityPlayer player,
        -                  ItemStack armor,
        -                  int slot)
        -
        Get the displayed effective armor.
        -
        Parameters:
        player - The player wearing the armor.
        armor - The ItemStack of the armor item itself.
        slot - The armor slot the item is in.
        -
        Returns:
        The number of armor points for display, 2 per shield.
        -
      • -
      - - - -
        -
      • -

        damageArmor

        -
        void damageArmor(EntityLivingBase entity,
        -               ItemStack stack,
        -               DamageSource source,
        -               int damage,
        -               int slot)
        -
        Applies damage to the ItemStack. The mod is responsible for reducing the - item durability and stack size. If the stack is depleted it will be cleaned - up automatically.
        -
        Parameters:
        entity - The entity wearing the armor
        stack - The ItemStack of the armor item itself.
        source - The source of the damage, which can be used to alter armor - properties based on the type or source of damage.
        damage - The amount of damage being applied to the armor
        slot - The armor slot the item is in.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - -- cgit v1.2.3