diff options
Diffstat (limited to 'src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java')
-rw-r--r-- | src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java b/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java index 5e900fdf55..daec5c0aed 100644 --- a/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java +++ b/src/main/java/com/elisis/gtnhlanth/GTNHLanthanides.java @@ -3,10 +3,13 @@ package com.elisis.gtnhlanth; import java.util.logging.Logger;
import com.elisis.gtnhlanth.common.CommonProxy;
+import com.elisis.gtnhlanth.common.register.BotWerkstoffMaterialPool;
import com.elisis.gtnhlanth.common.register.ItemList;
import com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool;
+import com.elisis.gtnhlanth.loader.BotRecipes;
import com.elisis.gtnhlanth.loader.RecipeLoader;
import com.github.bartimaeusnek.bartworks.API.WerkstoffAdderRegistry;
+import com.github.bartimaeusnek.bartworks.system.material.Werkstoff;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
@@ -14,11 +17,15 @@ 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 gregtech.api.util.GT_Log;
+import net.minecraftforge.fluids.FluidRegistry;
+import scala.actors.threadpool.Arrays;
@Mod(modid = Tags.MODID, version = Tags.VERSION, name = Tags.MODNAME,
dependencies = "required-after:IC2; " + "required-after:gregtech; "
+ "required-after:bartworks; "
+ "required-after:GoodGenerator; "
+ + "before:miscutils; "
)
public class GTNHLanthanides {
@@ -33,6 +40,7 @@ public class GTNHLanthanides { @EventHandler
public static void preInit(FMLPreInitializationEvent e) {
WerkstoffAdderRegistry.addWerkstoffAdder(new WerkstoffMaterialPool());
+ WerkstoffAdderRegistry.addWerkstoffAdder(new BotWerkstoffMaterialPool());
ItemList.register();
proxy.preInit(e);
}
@@ -46,7 +54,23 @@ public class GTNHLanthanides { public static void postInit(FMLPostInitializationEvent e) {
RecipeLoader.loadGeneral();
RecipeLoader.loadLanthanideRecipes();
+ RecipeLoader.addRandomChemCrafting();
+ BotRecipes.addGTRecipe();
+ BotRecipes.addFuels();
+ //RecipeLoader.loadZylonRecipes();
proxy.postInit(e);
+ //GT_Log.out.print(FluidRegistry.getFluid("Sodium Tungstate").getName());
+
+ GT_Log.out.print(Arrays.toString(Werkstoff.werkstoffNameHashMap.keySet().toArray()));
+ GT_Log.out.print(Arrays.toString(Werkstoff.werkstoffHashMap.keySet().toArray()));
+
+ }
+
+ @EventHandler
+ public static void onModLoadingComplete() {
+ GT_Log.out.print("AAAAAAAAAAAAAA");
+ GT_Log.out.print(FluidRegistry.getFluid("Sodium Tungstate").getName());
+ BotRecipes.removeRecipes();
}
|