diff --git a/src/main/java/com/cricketcraft/chisel/api/IChiselItem.java b/src/main/java/com/cricketcraft/chisel/api/IChiselItem.java index 72e6fca9..8063cf74 100644 --- a/src/main/java/com/cricketcraft/chisel/api/IChiselItem.java +++ b/src/main/java/com/cricketcraft/chisel/api/IChiselItem.java @@ -6,10 +6,12 @@ import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.world.World; +import com.cricketcraft.chisel.api.carving.ICarvingVariation; + /** * Implement this on items which can be used to chisel blocks. */ -public interface IChiselItem extends IChiselMode { +public interface IChiselItem { /** * Checks whether the chisel can have its GUI opened @@ -38,7 +40,7 @@ public interface IChiselItem extends IChiselMode { * @param target * The {@link ItemStack} representing the target item */ - void onChisel(World world, IInventory inv, int slot, ItemStack chisel, ItemStack target); + void onChisel(World world, IInventory inv, int slot, ItemStack chisel, ICarvingVariation target); /** * Called to check if this {@link ItemStack} can be chiseled in this chisel. If not, there will be no possible variants displayed in the GUI. diff --git a/src/main/java/com/cricketcraft/chisel/api/IChiselMode.java b/src/main/java/com/cricketcraft/chisel/api/IChiselMode.java deleted file mode 100644 index 198f84b3..00000000 --- a/src/main/java/com/cricketcraft/chisel/api/IChiselMode.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.cricketcraft.chisel.api; - -import net.minecraft.item.ItemStack; - -public interface IChiselMode { - - public ChiselMode getChiselMode(ItemStack itemStack); -}