package net.shadowfacts.foodies;

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.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import net.shadowfacts.foodies.item.FItems;
import net.shadowfacts.foodies.proxy.CommonProxy;


/**
 * Foodies main mod class
 * @author shadowfacts
 */

@Mod(modid = Foodies.modId, name = Foodies.displayName, version = Foodies.version)
public class Foodies  {
	// Modinfo
	public static final String modId = "foodies";
	public static final String displayName = "Foodies";
	public static final String version = "0.0.1";
	public static final String commonProxyString = "net.shadowfacts.foodies.proxy.CommonProxy";
	public static final String clientProxyString = "net.shadowfacts.foodies.proxy.ClientProxy";

	// Mod instance
	@Instance
	public static Foodies instance;

	// Proxy
	@SidedProxy(clientSide = Foodies.clientProxyString, serverSide = Foodies.commonProxyString)
	public static CommonProxy proxy;

	@EventHandler
	public void preInit(FMLPreInitializationEvent event) {
		FItems.preInit();
	}

	@EventHandler
	public void load(FMLInitializationEvent event) {
		FItems.load();
	}

	@EventHandler
	public void postInit(FMLPostInitializationEvent event) {
		FItems.postInit();
	}
}

@@ -363,16 +363,128 @@
 Event;%0A%0A
+import net.minecraft.creativetab.CreativeTabs;%0Aimport net.minecraft.init.Items;%0Aimport net.minecraft.item.Item;%0A
 import n
@@ -570,16 +570,57 @@
 Proxy;%0A%0A
+import org.apache.logging.log4j.Logger;%0A%0A
 %0A/**%0A * 
@@ -1323,16 +1323,224 @@
 proxy;%0A%0A
+%09// Logger%0A%09public static Logger log;%0A%0A%09// Creative Tab%0A%09public static CreativeTabs creativeTab = new CreativeTabs(%22FoodiesTab%22) %7B%0A%09%09@Override%0A%09%09public Item getTabIconItem() %7B%0A%09%09%09return Items.apple;%0A%09%09%7D%0A%09%7D;%0A%0A
 %09@EventH
@@ -1594,32 +1594,60 @@
 nEvent event) %7B%0A
+%09%09log = event.getModLog();%0A%0A
 %09%09FItems.preInit
@@ -1646,24 +1646,25 @@
 .preInit();%0A
+%0A
 %09%7D%0A%0A%09@EventH

Add creative tab