From ccaabdd2306d0cca94722fc1297b8bd5deb4d76c Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sun, 20 Sep 2015 13:55:54 +0100 Subject: [PATCH] Started work on adding the recipes back to ic2 classic --- .../java/techreborn/compat/CompatManager.java | 1 + .../compat/recipes/RecipesIC2Classic.java | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java diff --git a/src/main/java/techreborn/compat/CompatManager.java b/src/main/java/techreborn/compat/CompatManager.java index 3abf99b83..a1d1deda4 100644 --- a/src/main/java/techreborn/compat/CompatManager.java +++ b/src/main/java/techreborn/compat/CompatManager.java @@ -19,6 +19,7 @@ public class CompatManager { public CompatManager() { registerCompact(CompatModuleWaila.class, "Waila"); registerCompact(RecipesIC2.class, "IC2", !IC2Classic.isIc2ClassicLoaded()); + registerCompact(RecipesIC2Classic.class, IC2Classic.isIc2ClassicLoaded() && ! IC2Classic.isIc2ExpLoaded()); registerCompact(RecipesBuildcraft.class, "BuildCraft|Core", "IC2"); registerCompact(RecipesThermalExpansion.class, "ThermalExpansion"); registerCompact(EmcValues.class, "EE3"); diff --git a/src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java b/src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java new file mode 100644 index 000000000..b20b10ac6 --- /dev/null +++ b/src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java @@ -0,0 +1,30 @@ +package techreborn.compat.recipes; + +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.event.FMLServerStartingEvent; +import techreborn.compat.ICompatModule; + + +public class RecipesIC2Classic implements ICompatModule { + @Override + public void preInit(FMLPreInitializationEvent event) { + + } + + @Override + public void init(FMLInitializationEvent event) { + + } + + @Override + public void postInit(FMLPostInitializationEvent event) { + + } + + @Override + public void serverStarting(FMLServerStartingEvent event) { + + } +}