mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 06:24:37 +00:00
14 lines
410 B
Java
14 lines
410 B
Java
package mods.battlegear2.api;
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public interface IPenetrateWeapon {
|
|
/**
|
|
* The amount of damage bypassing armor
|
|
* @param stack The {@link net.minecraft.item.ItemStack} representative of the item dealing the hit.
|
|
* @return the amount of damage that bypasses armour
|
|
*/
|
|
public int getPenetratingPower(ItemStack stack);
|
|
}
|