Added Cable recipes
This commit is contained in:
parent
a921751618
commit
188cee7b3b
1 changed files with 37 additions and 6 deletions
|
@ -49,8 +49,7 @@ import techreborn.items.ItemPlates;
|
||||||
import techreborn.parts.ItemCables;
|
import techreborn.parts.ItemCables;
|
||||||
import techreborn.utils.RecipeUtils;
|
import techreborn.utils.RecipeUtils;
|
||||||
|
|
||||||
public class
|
public class ModRecipes {
|
||||||
ModRecipes {
|
|
||||||
public static ConfigTechReborn config;
|
public static ConfigTechReborn config;
|
||||||
|
|
||||||
public static void init() {
|
public static void init() {
|
||||||
|
@ -78,6 +77,40 @@ public class
|
||||||
addIc2ReplacementReicpes();
|
addIc2ReplacementReicpes();
|
||||||
addExtractorRecipes();
|
addExtractorRecipes();
|
||||||
addCompressorRecipes();
|
addCompressorRecipes();
|
||||||
|
addWireRecipes();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void addWireRecipes() {
|
||||||
|
CraftingHelper.addShapedOreRecipe(ItemCables.getCableByName("copper", 6),
|
||||||
|
"XXX","CCC", "XXX",
|
||||||
|
'C', "ingotCopper");
|
||||||
|
CraftingHelper.addShapedOreRecipe(ItemCables.getCableByName("tin", 9),
|
||||||
|
"XXX","CCC", "XXX",
|
||||||
|
'C', "ingotTin");
|
||||||
|
CraftingHelper.addShapedOreRecipe(ItemCables.getCableByName("gold", 12),
|
||||||
|
"XXX","CCC", "XXX",
|
||||||
|
'C', "ingotGold");
|
||||||
|
CraftingHelper.addShapedOreRecipe(ItemCables.getCableByName("hv", 8),
|
||||||
|
"XXX","CCC", "XXX",
|
||||||
|
'C', ItemIngots.getIngotByName("refinediron"));
|
||||||
|
CraftingHelper.addShapedOreRecipe(ItemCables.getCableByName("glassfiber", 6),
|
||||||
|
"GGG",
|
||||||
|
"SDS",
|
||||||
|
"GGG",
|
||||||
|
'G', "blockGlass",
|
||||||
|
'S', "ingotSilver",
|
||||||
|
'D', Items.diamond);
|
||||||
|
CraftingHelper.addShapedOreRecipe(ItemCables.getCableByName("glassfiber", 4),
|
||||||
|
"GGG",
|
||||||
|
"RDR",
|
||||||
|
"GGG",
|
||||||
|
'G', "blockGlass",
|
||||||
|
'R', Items.redstone,
|
||||||
|
'D', Items.diamond);
|
||||||
|
|
||||||
|
CraftingHelper.addShapelessOreRecipe(ItemCables.getCableByName("insulatedcopper"), ItemParts.getPartByName("rubber"), ItemCables.getCableByName("copper"));
|
||||||
|
CraftingHelper.addShapelessOreRecipe(ItemCables.getCableByName("insulatedgold"), ItemParts.getPartByName("rubber"), ItemCables.getCableByName("gold"));
|
||||||
|
CraftingHelper.addShapelessOreRecipe(ItemCables.getCableByName("insulatedhv"), ItemParts.getPartByName("rubber"), ItemCables.getCableByName("hv"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void addCompressorRecipes() {
|
private static void addCompressorRecipes() {
|
||||||
|
@ -171,8 +204,6 @@ public class
|
||||||
'S', Items.redstone,
|
'S', Items.redstone,
|
||||||
'W', ItemCables.getCableByName("insulatedcopper"));
|
'W', ItemCables.getCableByName("insulatedcopper"));
|
||||||
|
|
||||||
CraftingHelper.addShapelessOreRecipe(ItemCables.getCableByName("insulatedcopper"), ItemParts.getPartByName("rubber"));
|
|
||||||
|
|
||||||
CraftingHelper.addShapedOreRecipe(new ItemStack(ModItems.wrench),
|
CraftingHelper.addShapedOreRecipe(new ItemStack(ModItems.wrench),
|
||||||
"BAB", "BBB", "ABA",
|
"BAB", "BBB", "ABA",
|
||||||
'B', "ingotBronze");
|
'B', "ingotBronze");
|
||||||
|
|
Loading…
Add table
Reference in a new issue