// Path: src/main/java/net/einsteinsci/betterbeginnings/ModMain.java
// @Mod(modid = ModMain.MODID, version = ModMain.VERSION, name = ModMain.NAME,
//      guiFactory = "net.einsteinsci.betterbeginnings.config.BBConfigGuiFactory")
// public class ModMain
// {
// 	public static final String MODID = "betterbeginnings";
// 	public static final String VERSION = "0.9.8-pre1";
// 	public static final String NAME = "BetterBeginnings";
// 	
// 	@Instance(ModMain.MODID)
// 	public static ModMain modInstance;
// 	
// 	public static final CreativeTabs tabBetterBeginnings = new CreativeTabs("tabBetterBeginnings")
// 	{
// 		@Override
// 		@SideOnly(Side.CLIENT)
// 		public Item getTabIconItem()
// 		{
// 			return RegisterItems.flintKnife;
// 		}
// 	};
// 	
// 	public static Configuration configFile;
// 	
// 	public BBEventHandler eventHandler = new BBEventHandler();
// 
// 	@SidedProxy(clientSide = "net.einsteinsci.betterbeginnings.network.ClientProxy",
// 	            serverSide = "net.einsteinsci.betterbeginnings.network.ServerProxy")
// 	public static ServerProxy proxy;
// 	public static SimpleNetworkWrapper network;
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent e)
// 	{
// 		LogUtil.logDebug("Starting pre-initialization...");
// 
// 		configFile = BBConfigFolderLoader.getConfigFile(e);
// 		configFile.load();
// 		BBConfig.initialize();
// 		BBConfig.syncConfig(configFile);
// 
// 		proxy.preInit(e);
// 
// 		FMLCommonHandler.instance().bus().register(eventHandler);
// 		MinecraftForge.EVENT_BUS.register(eventHandler);
// 
// 		network = NetworkRegistry.INSTANCE.newSimpleChannel("bbchannel");
// 		network.registerMessage(PacketNetherBrickOvenFuelLevel.PacketHandler.class,
// 			PacketNetherBrickOvenFuelLevel.class, 0, Side.CLIENT);
// 		network.registerMessage(PacketCampfireState.PacketHandler.class,
// 			PacketCampfireState.class, 1, Side.CLIENT);
// 
// 		RegisterItems.register();
// 		RegisterBlocks.register();
// 		RegisterEntities.register();
// 		RegisterTileEntities.register();
// 	}
// 
// 	@EventHandler
// 	public void init(FMLInitializationEvent e)
// 	{
// 		proxy.init(e);
// 
// 		BBConfigFolderLoader.loadRemovedRecipes(e);
// 
// 		RemoveRecipes.remove();
// 		if (BBConfig.moduleFurnaces)
// 		{
// 			RemoveRecipes.removeFurnaceRecipes();
// 		}
// 
// 		RegisterRecipes.addShapelessRecipes();
// 		RegisterRecipes.addShapedRecipes();
// 		RegisterRecipes.addAdvancedRecipes();
// 		RegisterRecipes.addFurnaceRecipes();
// 		InfusionRepairUtil.registerVanillaEnchantsConfig();
// 		TileEntitySmelterBase.registerDefaultBoosters();
// 
// 		BBConfigFolderLoader.loadRecipes(e);
// 
// 		if (e.getSide() == Side.CLIENT)
// 		{
// 			RegisterModels.register();
// 		}
// 	}
// 
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent e)
// 	{
// 		BBConfig.fillAlwaysBreakable();
// 		BBConfig.fillAlsoPickaxes();
// 		BBConfig.fillAlsoAxes();
// 
// 		RegisterItems.tweakVanilla();
// 		Worldgen.addWorldgen();
// 		AchievementPage.registerAchievementPage(new AchievementPage(NAME, RegisterAchievements.getAchievements()));
// 		LogUtil.logDebug("Finished post-initialization.");
// 	}
// 
// 	@EventHandler
// 	public void serverLoad(FMLServerStartingEvent e)
// 	{
// 		e.registerServerCommand(new JsonGenerateCommand());
// 	}
// }
// 
// Path: src/main/java/net/einsteinsci/betterbeginnings/util/LogUtil.java
// public class LogUtil
// {
// 	public static void logDebug(String text)
// 	{
// 		if (BBConfig.debugLogging)
// 		{
// 			log(Level.DEBUG, text);
// 		}
// 	}
// 
// 	public static void logDebug(Level level, String text)
// 	{
// 		if (BBConfig.debugLogging)
// 		{
// 			log(level, text);
// 		}
// 	}
// 
// 	public static void log(Level level, String text)
// 	{
// 		FMLLog.log(ModMain.NAME, level, text);
// 	}
// 
// 	public static void log(String text)
// 	{
// 		log(Level.INFO, text);
// 	}
// }


import codechicken.nei.ItemList;
import codechicken.nei.PositionedStack;
import codechicken.nei.recipe.TemplateRecipeHandler;
import net.einsteinsci.betterbeginnings.ModMain;
import net.einsteinsci.betterbeginnings.gui.GuiBrickOven;
import net.einsteinsci.betterbeginnings.register.recipe.*;
import net.einsteinsci.betterbeginnings.tileentity.TileEntityBrickOven;
import net.einsteinsci.betterbeginnings.util.LogUtil;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDoor;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.resources.I18n;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import org.apache.logging.log4j.Level;
import java.util.*;

			if (found)
			{
				arecipes.add(new BrickOvenCachedRecipe(ibr));
			}
		}
	}

	public static ArrayList<FuelPair> afuels;

	@Override
	public TemplateRecipeHandler newInstance()
	{
		if (afuels == null || afuels.isEmpty())
		{
			findFuels();
		}

		return super.newInstance();
	}

	@Override
	public Class<? extends GuiContainer> getGuiClass()
	{
		return GuiBrickOven.class;
	}

	@Override
	public String getGuiTexture()
	{
// Path: src/main/java/net/einsteinsci/betterbeginnings/ModMain.java
// @Mod(modid = ModMain.MODID, version = ModMain.VERSION, name = ModMain.NAME,
//      guiFactory = "net.einsteinsci.betterbeginnings.config.BBConfigGuiFactory")
// public class ModMain
// {
// 	public static final String MODID = "betterbeginnings";
// 	public static final String VERSION = "0.9.8-pre1";
// 	public static final String NAME = "BetterBeginnings";
// 	
// 	@Instance(ModMain.MODID)
// 	public static ModMain modInstance;
// 	
// 	public static final CreativeTabs tabBetterBeginnings = new CreativeTabs("tabBetterBeginnings")
// 	{
// 		@Override
// 		@SideOnly(Side.CLIENT)
// 		public Item getTabIconItem()
// 		{
// 			return RegisterItems.flintKnife;
// 		}
// 	};
// 	
// 	public static Configuration configFile;
// 	
// 	public BBEventHandler eventHandler = new BBEventHandler();
// 
// 	@SidedProxy(clientSide = "net.einsteinsci.betterbeginnings.network.ClientProxy",
// 	            serverSide = "net.einsteinsci.betterbeginnings.network.ServerProxy")
// 	public static ServerProxy proxy;
// 	public static SimpleNetworkWrapper network;
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent e)
// 	{
// 		LogUtil.logDebug("Starting pre-initialization...");
// 
// 		configFile = BBConfigFolderLoader.getConfigFile(e);
// 		configFile.load();
// 		BBConfig.initialize();
// 		BBConfig.syncConfig(configFile);
// 
// 		proxy.preInit(e);
// 
// 		FMLCommonHandler.instance().bus().register(eventHandler);
// 		MinecraftForge.EVENT_BUS.register(eventHandler);
// 
// 		network = NetworkRegistry.INSTANCE.newSimpleChannel("bbchannel");
// 		network.registerMessage(PacketNetherBrickOvenFuelLevel.PacketHandler.class,
// 			PacketNetherBrickOvenFuelLevel.class, 0, Side.CLIENT);
// 		network.registerMessage(PacketCampfireState.PacketHandler.class,
// 			PacketCampfireState.class, 1, Side.CLIENT);
// 
// 		RegisterItems.register();
// 		RegisterBlocks.register();
// 		RegisterEntities.register();
// 		RegisterTileEntities.register();
// 	}
// 
// 	@EventHandler
// 	public void init(FMLInitializationEvent e)
// 	{
// 		proxy.init(e);
// 
// 		BBConfigFolderLoader.loadRemovedRecipes(e);
// 
// 		RemoveRecipes.remove();
// 		if (BBConfig.moduleFurnaces)
// 		{
// 			RemoveRecipes.removeFurnaceRecipes();
// 		}
// 
// 		RegisterRecipes.addShapelessRecipes();
// 		RegisterRecipes.addShapedRecipes();
// 		RegisterRecipes.addAdvancedRecipes();
// 		RegisterRecipes.addFurnaceRecipes();
// 		InfusionRepairUtil.registerVanillaEnchantsConfig();
// 		TileEntitySmelterBase.registerDefaultBoosters();
// 
// 		BBConfigFolderLoader.loadRecipes(e);
// 
// 		if (e.getSide() == Side.CLIENT)
// 		{
// 			RegisterModels.register();
// 		}
// 	}
// 
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent e)
// 	{
// 		BBConfig.fillAlwaysBreakable();
// 		BBConfig.fillAlsoPickaxes();
// 		BBConfig.fillAlsoAxes();
// 
// 		RegisterItems.tweakVanilla();
// 		Worldgen.addWorldgen();
// 		AchievementPage.registerAchievementPage(new AchievementPage(NAME, RegisterAchievements.getAchievements()));
// 		LogUtil.logDebug("Finished post-initialization.");
// 	}
// 
// 	@EventHandler
// 	public void serverLoad(FMLServerStartingEvent e)
// 	{
// 		e.registerServerCommand(new JsonGenerateCommand());
// 	}
// }
// 
// Path: src/main/java/net/einsteinsci/betterbeginnings/util/LogUtil.java
// public class LogUtil
// {
// 	public static void logDebug(String text)
// 	{
// 		if (BBConfig.debugLogging)
// 		{
// 			log(Level.DEBUG, text);
// 		}
// 	}
// 
// 	public static void logDebug(Level level, String text)
// 	{
// 		if (BBConfig.debugLogging)
// 		{
// 			log(level, text);
// 		}
// 	}
// 
// 	public static void log(Level level, String text)
// 	{
// 		FMLLog.log(ModMain.NAME, level, text);
// 	}
// 
// 	public static void log(String text)
// 	{
// 		log(Level.INFO, text);
// 	}
// }


// Path: src/main/java/net/einsteinsci/betterbeginnings/nei/NEIBrickOvenRecipeHandler.java
import codechicken.nei.ItemList;
import codechicken.nei.PositionedStack;
import codechicken.nei.recipe.TemplateRecipeHandler;
import net.einsteinsci.betterbeginnings.ModMain;
import net.einsteinsci.betterbeginnings.gui.GuiBrickOven;
import net.einsteinsci.betterbeginnings.register.recipe.*;
import net.einsteinsci.betterbeginnings.tileentity.TileEntityBrickOven;
import net.einsteinsci.betterbeginnings.util.LogUtil;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDoor;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.resources.I18n;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import org.apache.logging.log4j.Level;
import java.util.*;


			if (found)
			{
				arecipes.add(new BrickOvenCachedRecipe(ibr));
			}
		}
	}

	public static ArrayList<FuelPair> afuels;

	@Override
	public TemplateRecipeHandler newInstance()
	{
		if (afuels == null || afuels.isEmpty())
		{
			findFuels();
		}

		return super.newInstance();
	}

	@Override
	public Class<? extends GuiContainer> getGuiClass()
	{
		return GuiBrickOven.class;
	}

	@Override
	public String getGuiTexture()
	{
		return ModMain.MODID + ":textures/gui/container/brickOven.png";