I am currently making a mod for a game called minecraft and i have recently run into an error which is this
This is the bit of code were that error occured please tell me what i need to fixsrc\minecraft\net\minecraft\src\mod_sausagecooked. java:12: AddSmelting(int,net.minecraft.src.ItemStack)in net.minecraft.src.ModLoader cannot be applied to (net.minecraft.src.Item,net.miencraft.src.ItemStac k)
ModLoader.AddSmelting(mod_sausafe.itemsausage, new ItemStack (itemsausagecooked, 1));
Thank you help would be very much appreciatedpackage net.minecraft.src;
import java.util.Random;
public class mod_sausagecooked extends BaseMod
{
public static final Item itemsausagecooked = new ItemSausageCooked(2010).setItemName("asdflollpol") ;
public mod_sausagecooked()
{
itemsausagecooked.iconIndex = ModLoader.addOverride("/gui/items.png", "/BritishFoods/sausagecooked.png");
ModLoader.AddName(itemsausagecooked, "Cooked Sausage");
ModLoader.AddSmelting(mod_sausage.itemsausage, new ItemStack (itemsausagecooked, 1));
}
public String Version()
{
return "3.14159265";
}
}