
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
14 lines
450 B
Java
14 lines
450 B
Java
package thaumcraft.api;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
/**
|
|
* @author Azanor
|
|
* Items, armor and tools with this interface can receive the Repair enchantment.
|
|
* Repairs 1 point of durability every 10 seconds (2 for repair II)
|
|
*/
|
|
public interface IRepairableExtended extends IRepairable {
|
|
public boolean doRepair(ItemStack stack, EntityPlayer player, int enchantlevel);
|
|
}
|