Remove IChiselMode

This commit is contained in:
tterrag1098 committed 2015-01-18 13:05:25 -05:00
1 parent 469ae5828b
commit 86713ab449
2 files changed
+4 -10

No files matched your search

@@ -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.
@@ -1,8 +0,0 @@
package com.cricketcraft.chisel.api;
import net.minecraft.item.ItemStack;
public interface IChiselMode {
public ChiselMode getChiselMode(ItemStack itemStack);
}