2014-01-17 14:12:49 -05:00
|
|
|
package thaumcraft.api;
|
|
|
|
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Azanor
|
2014-01-17 21:05:38 +00:00
|
|
|
* Items, armor and tools with this interface can receive the Repair enchantment.
|
|
|
|
* Repairs 1 point of durability every 10 seconds (2 for repair II)
|
2014-01-17 14:12:49 -05:00
|
|
|
*/
|
2014-01-17 21:43:13 +00:00
|
|
|
public interface IRepairableExtended extends IRepairable
|
|
|
|
{
|
2014-01-17 14:12:49 -05:00
|
|
|
public boolean doRepair(ItemStack stack, EntityPlayer player, int enchantlevel);
|
|
|
|
}
|