some recipe things

This commit is contained in:
gigabit101 2016-03-05 19:42:22 +00:00
parent 71062a55bd
commit 694aae55ff
2 changed files with 8 additions and 1 deletions

View file

@ -44,6 +44,7 @@ import techreborn.items.ItemIngots;
import techreborn.items.ItemNuggets; import techreborn.items.ItemNuggets;
import techreborn.items.ItemParts; import techreborn.items.ItemParts;
import techreborn.items.ItemPlates; import techreborn.items.ItemPlates;
import techreborn.parts.ItemCables;
import techreborn.utils.RecipeUtils; import techreborn.utils.RecipeUtils;
public class public class
@ -149,6 +150,12 @@ public class
'A', "ingot" + name.substring(0, 1).toUpperCase() + name.substring(1)); 'A', "ingot" + name.substring(0, 1).toUpperCase() + name.substring(1));
} }
CraftingHelper.addShapedOreRecipe(ItemParts.getPartByName("electronicCircuit"),
"WWW", "SRS", "WWW",
'R', ItemIngots.getIngotByName("refinediron"),
'S', Items.redstone,
'W', ItemCables.getCableByName("insulatedcopper"));
CraftingHelper.addShapedOreRecipe(BlockMachineFrame.getFrameByName("machine", 1), CraftingHelper.addShapedOreRecipe(BlockMachineFrame.getFrameByName("machine", 1),
"AAA", "AXA", "AAA", "AAA", "AXA", "AAA",
'A', ItemPlates.getPlateByName("iron")); 'A', ItemPlates.getPlateByName("iron"));

View file

@ -29,7 +29,7 @@ public class ItemIngots extends ItemTextureBase {
"bronze", "cadmium", "chrome", "copper", "cupronickel", "electrum", "indium", "bronze", "cadmium", "chrome", "copper", "cupronickel", "electrum", "indium",
"invar", "iridium", "kanthal", "lead", "lodestone", "magnalium", "nichrome", "nickel", "invar", "iridium", "kanthal", "lead", "lodestone", "magnalium", "nichrome", "nickel",
"osmium", "platinum", "silver", "steel", "tellurium", "tin", "titanium", "osmium", "platinum", "silver", "steel", "tellurium", "tin", "titanium",
"tungsten", "hotTungstensteel", "tungstensteel", "zinc"}; "tungsten", "hotTungstensteel", "tungstensteel", "zinc", "refinediron"};
public ItemIngots() { public ItemIngots() {