package xyz.brassgoggledcoders.boilerplate;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import xyz.brassgoggledcoders.boilerplate.modules.materials.MaterialsModule;
import xyz.brassgoggledcoders.boilerplate.proxies.CommonProxy;

@Mod(modid = Boilerplate.ID, name = Boilerplate.NAME, version = Boilerplate.VERSION,
		dependencies = Boilerplate.DEPENDENCIES)
public class Boilerplate extends BoilerplateModBase {
	public final static String ID = "boilerplate";
	public final static String NAME = "Boilerplate";
	public final static String VERSION = "@VERSION@";
	public final static String DEPENDENCIES = "";

	@SidedProxy(clientSide = "xyz.brassgoggledcoders.boilerplate.proxies.ClientProxy",
			serverSide = "xyz.brassgoggledcoders.boilerplate.proxies.ServerProxy")
	public static CommonProxy proxy;

	@Instance(Boilerplate.ID)
	public static Boilerplate instance;

	public static CreativeTabs tabOres;

	public Boilerplate() {
		super(Boilerplate.ID, Boilerplate.NAME, Boilerplate.VERSION, CreativeTabs.MISC);
	}

	@Override
	@EventHandler
	public void preInit(FMLPreInitializationEvent event) {
		super.preInit(event);
		proxy.registerBlockModels();
	}

	@Override
	@EventHandler
	public void init(FMLInitializationEvent event) {
		super.init(event);
	}

	@Override
	@EventHandler
	public void postInit(FMLPostInitializationEvent event) {
		super.postInit(event);
		this.getLogger().info("GNU Terry Prachett");
	}

	@Override
	public Object getInstance() {
		return instance;
	}

	@Override
	public CreativeTabs getCreativeTab() {
		return tabOres;
	}

	public static class TabOres extends BaseCreativeTab {
		public TabOres() {
			super("boilerplate");
		}

		@Override
		public Item getTabIconItem() {
			return Item.getItemFromBlock(MaterialsModule.metal_ore);
		}

	}
}

@@ -89,40 +89,8 @@
 bs;%0A
-import net.minecraft.item.Item;%0A
 impo
@@ -494,85 +494,8 @@
 nt;%0A
-import xyz.brassgoggledcoders.boilerplate.modules.materials.MaterialsModule;%0A
 impo
@@ -1809,300 +1809,7 @@
 ;%0A%09%7D
-%0A%0A%09@Override%0A%09public CreativeTabs getCreativeTab() %7B%0A%09%09return tabOres;%0A%09%7D%0A%0A%09public static class TabOres extends BaseCreativeTab %7B%0A%09%09public TabOres() %7B%0A%09%09%09super(%22boilerplate%22);%0A%09%09%7D%0A%0A%09%09@Override%0A%09%09public Item getTabIconItem() %7B%0A%09%09%09return Item.getItemFromBlock(MaterialsModule.metal_ore);%0A%09%09%7D%0A%0A%09%7D
 %0A%7D%0A

Delete materials tab