Allow only the diamond chisel to have modes. Fix breaking sounds up more

This commit is contained in:
tterrag1098 committed 2015-01-19 11:23:11 -05:00
1 parent 5188e39b57
commit 5b4af2ee49
10 files changed
+81 -43

No files matched your search

@@ -80,4 +80,13 @@ public interface IChiselItem {
* @return True if the chiseling should take place. False otherwise.
*/
boolean canChiselBlock(World world, int x, int y, int z, Block block, int metadata);
/**
* Allows you to control if your item has chiseling modes.
*
* @param chisel
* The {@link ItemStack} representing the chisel.
* @return True if the chisel supports modes. False otherwise.
*/
boolean hasModes(ItemStack chisel);
}