Posted June 23, 201312 yr Hello, as you can see in the title I'd like to create a auto smelting pickaxe. Here's my pickaxe class: package mods.Millarki.common; import java.util.List; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumToolMaterial; import net.minecraft.item.ItemPickaxe; import net.minecraft.item.ItemStack; public class FlamePickaxe extends ItemPickaxe { public FlamePickaxe(int par1, EnumToolMaterial par2EnumToolMaterial) { super(par1, par2EnumToolMaterial); } /** * Return whether this item is repairable in an anvil. */ @Override public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) { return par2ItemStack.itemID == Millarki.FlameChunk.itemID; } @Override public void registerIcons(IconRegister par1IconRegister) { itemIcon = par1IconRegister.registerIcon("Millarki:flamepickaxe"); } } I'd also like to create a pickaxe that does the same, only then with the recipes from my custom furnace. How do I do this
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.