package com.lothrazar.samscontent;

import org.apache.logging.log4j.Logger; 
import net.minecraft.block.Block;
import net.minecraft.command.ICommand;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraftforge.common.MinecraftForge; 
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import net.minecraftforge.event.world.BlockEvent;  
import cpw.mods.fml.client.event.ConfigChangedEvent;
import cpw.mods.fml.common.IFuelHandler;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.registry.GameRegistry;
 
public class FurnaceFuel    implements IFuelHandler
{    
	@Override
	public int getBurnTime(ItemStack fuel) 
	{ 
		if(fuel.getItem().equals(Item.getItemFromBlock(Blocks.deadbush)))
		{
			return FurnaceBurnTime.Sticks;
		} 
		if(fuel.getItem().equals(Items.wheat_seeds))
		{
			return FurnaceBurnTime.Sticks;
		} 
		if(fuel.getItem().equals(Items.pumpkin_seeds))
		{
			return FurnaceBurnTime.Sticks;
		} 
		if(fuel.getItem().equals(Items.melon_seeds))
		{
			return FurnaceBurnTime.Sticks;
		} 
		if(fuel.getItem().equals(Item.getItemFromBlock(Blocks.leaves)))
		{
			return FurnaceBurnTime.Sticks;
		}
		if(fuel.getItem().equals(Item.getItemFromBlock(Blocks.leaves2)))
		{
			return FurnaceBurnTime.Sticks;
		} 
		if(fuel.getItem().equals(Items.paper))
		{
			return FurnaceBurnTime.Sticks;
		}
		return 0;
	}	
	public class FurnaceBurnTime // inner class
	{
		public static final int Sticks = 100;
		public static final int WoodenSlabs = 150;
		public static final int WoodenTools = 200;
		public static final int WoodStuff = 300;
		public static final int Coal = 1600; 
		public static final int LavaBucket = 20000;
		public static final int Sapling = 100;
		public static final int BlazeRod = 2400; 
	}
}
@@ -1798,32 +1798,385 @@
 .Sticks;%0D%0A%09%09%7D %0D%0A
+%09%09if(fuel.getItem().equals(Item.getItemFromBlock(Blocks.tallgrass)))%0D%0A%09%09%7B%0D%0A%09%09%09return FurnaceBurnTime.Sticks;%0D%0A%09%09%7D %0D%0A%09%09if(fuel.getItem().equals(Item.getItemFromBlock(Blocks.red_flower)))%0D%0A%09%09%7B%0D%0A%09%09%09return FurnaceBurnTime.Sticks;%0D%0A%09%09%7D %0D%0A%09%09if(fuel.getItem().equals(Item.getItemFromBlock(Blocks.yellow_flower)))%0D%0A%09%09%7B%0D%0A%09%09%09return FurnaceBurnTime.Sticks;%0D%0A%09%09%7D %0D%0A
 %09%09if(fuel.getIte
@@ -2264,16 +2264,19 @@
 ;%0D%0A%09%7D%09%0D%0A
+%09%0D%0A
 %09public 

add flowers and grass to furnace fuel