TechReborn/src/main/java/techreborn/compat/recipes/RecipesBuildcraft.java

41 lines
819 B
Java
Raw Normal View History

2015-04-17 20:39:14 +02:00
package techreborn.compat.recipes;
2015-05-01 21:05:34 +02:00
import ic2.api.item.IC2Items;
2015-04-17 20:39:14 +02:00
import net.minecraft.item.ItemStack;
2015-05-01 21:05:34 +02:00
import techreborn.util.CraftingHelper;
2015-04-17 20:39:14 +02:00
import techreborn.util.RecipeRemover;
2015-04-24 15:20:09 +02:00
import buildcraft.BuildCraftFactory;
2015-04-17 20:39:14 +02:00
public class RecipesBuildcraft {
2015-04-24 15:20:09 +02:00
2015-04-17 20:39:14 +02:00
public static void init()
{
removeRecipes();
addRecipies();
}
2015-04-24 15:20:09 +02:00
2015-04-17 20:39:14 +02:00
public static void removeRecipes()
{
2015-04-24 15:20:09 +02:00
RecipeRemover.removeAnyRecipe(new ItemStack(
BuildCraftFactory.quarryBlock));
2015-04-17 20:39:14 +02:00
}
2015-04-24 15:20:09 +02:00
2015-04-17 20:39:14 +02:00
public static void addRecipies()
{
2015-05-01 21:05:34 +02:00
//Quarry
CraftingHelper.addShapedOreRecipe(
new ItemStack (BuildCraftFactory.quarryBlock),
new Object[]
{
"IAI", "GIG", "DED",
'I', "gearIron",
'G', "gearGold",
'D', "gearDiamond",
'A', IC2Items.getItem("advancedCircuit"),
'E', IC2Items.getItem("diamondDrill")
}
);
2015-04-17 20:39:14 +02:00
}
}