2015-04-17 20:39:14 +02:00
|
|
|
package techreborn.compat.recipes;
|
|
|
|
|
2015-06-08 18:41:41 +02:00
|
|
|
import buildcraft.BuildCraftBuilders;
|
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;
|
|
|
|
|
|
|
|
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(
|
2015-06-08 18:41:41 +02:00
|
|
|
BuildCraftBuilders.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(
|
2015-06-08 18:41:41 +02:00
|
|
|
new ItemStack (BuildCraftBuilders.quarryBlock),
|
2015-05-01 21:05:34 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
}
|