Add runic shielding support to all Botania armor and baubles, after all they are made out of magically stable materials

This commit is contained in:
Yip Rui Fung committed 2015-07-28 16:05:17 +08:00
1 parent 67ae60a5f5
commit 8449cf1d91
3 files changed
+40 -2

No files matched your search

@@ -0,0 +1,22 @@
package thaumcraft.api;
import net.minecraft.item.ItemStack;
/**
*
* @author Azanor
*
* Armor or bauble slot items that implement this interface can provide runic shielding.
* Recharging, hardening, etc. is handled internally by thaumcraft.
*
*/
public interface IRunicArmor {
/**
* returns how much charge this item can provide. This is the base shielding value - any hardening is stored and calculated internally.
*/
public int getRunicCharge(ItemStack itemstack);
}