Added compat for buildcraft (WIP)
This commit is contained in:
parent
ce581cd27a
commit
dc4bd2724e
5 changed files with 55 additions and 3 deletions
16
src/main/java/techreborn/compat/recipes/RecipeManager.java
Normal file
16
src/main/java/techreborn/compat/recipes/RecipeManager.java
Normal file
|
@ -0,0 +1,16 @@
|
|||
package techreborn.compat.recipes;
|
||||
|
||||
import techreborn.compat.waila.CompatModuleWaila;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
|
||||
public class RecipeManager {
|
||||
|
||||
public static void init()
|
||||
{
|
||||
if (Loader.isModLoaded("BuildCraft|Factory"))
|
||||
{
|
||||
RecipesBuildcraft.init();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package techreborn.compat.recipes;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import buildcraft.BuildCraftFactory;
|
||||
import techreborn.util.RecipeRemover;
|
||||
|
||||
public class RecipesBuildcraft {
|
||||
|
||||
public static void init()
|
||||
{
|
||||
removeRecipes();
|
||||
addRecipies();
|
||||
}
|
||||
|
||||
public static void removeRecipes()
|
||||
{
|
||||
RecipeRemover.removeAnyRecipe(new ItemStack(BuildCraftFactory.quarryBlock));
|
||||
}
|
||||
|
||||
public static void addRecipies()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
package techreborn.compat.recipes;
|
||||
|
||||
public class ThermalExpansion {
|
||||
public class RecipesThermalExpansion {
|
||||
//TODO remove basic machine frame recipe
|
||||
//TODO replace iron in recipe to steel
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue