Working on a custom furnace. Been sifting through my code for hours thinking I've done something wrong. After I tracked down this issue this is where it was located:
public static int getItemBurnTime(ItemStack itemstack){
System.out.println(itemstack.toString();
if(itemstack == null){
return 0;
}else{
Item item = itemstack.getItem();
System.out.println(GameRegistry.getFuelValue(itemstack));
return GameRegistry.getFuelValue(itemstack);
}
}
Now looking where I posted the println statements I know itemstack is not null and also know it's the correct itemstack by the console output. Doesn't matter What I through in the furnace, coal, wood etc still returns 0. Is this a bug or am I missing something?