package com.juanwan11_magicnation;

import com.juanwan11_magicnation.Items.MAItems;
import com.juanwan11_magicnation.blocks.*;
import com.juanwan11_magicnation.recipies.CraftingRecipies;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;

@Mod(modid = ModInformation.modid, version = ModInformation.version, name = ModInformation.name)
public class BaseClass {
	// Creative Tabs
	public static CreativeTabs magicnationTab = new CreativeTabs("juanwan11_magicnationTab") {
		@Override
		public Item getTabIconItem() {
			return MAItems.itemGemStoneBlood;
		}
	};
	
	@EventHandler
	public void preInit(FMLPreInitializationEvent event) {
		MABlocks.makeBlocks();
		MABlocks.registerBlocks();
		MAItems.makeItems();
		MAItems.registerItems();
		CraftingRecipies.CraftingRecipe();
	GameRegistry.registerWorldGenerator(new OreMagicnationGenerator(), 1);
	
	}

	@EventHandler
	public void init(FMLInitializationEvent event) {
	}

	@EventHandler
	public void postInit(FMLPostInitializationEvent event) {

	}
}

@@ -801,16 +801,117 @@
 Class %7B%0A
+%09%0A%09public static boolean isThaumcraftLoaded;%0A        public static boolean isBotaniaLoaded;%0A        %0A
 %09// Crea
@@ -1390,16 +1390,241 @@
 , 1);%0A%09%0A
+%09%09isThaumcraftLoaded = Loader.isModLoaded(%22Thaumcraft%22);%0A%09%09isBotaniaLoaded = Loader.isModLoaded(%22Botania%22);%0A%09%09%0A%09%09if (isThaumcraftLoaded && isBotaniaLoaded) %7B%0A%09%09%7D%0A%09%09if (isBotaniaLoaded) %7B%0A%09%09%7D%0A%09%09if (isThaumcraftLoaded) %7B%0A%09%09%7D%0A%09%0A
 %09%7D%0A%0A%09@Ev

Update BaseClass.java