added crafting recipes

This commit is contained in:
Rseifert 2012-10-04 02:11:39 -04:00
parent bf060956df
commit 8390bb786c
2 changed files with 7 additions and 2 deletions

View file

@ -96,6 +96,7 @@ public class BasicPipesMain{
}
//Pump
LanguageRegistry.addName((new ItemStack(machine, 1, 0)), "WaterPump");
LanguageRegistry.addName((new ItemStack(rod, 1)), "MechRod");
//Tools
LanguageRegistry.addName((new ItemStack(gauge, 1, 0)), "PipeGuage");
//Parts
@ -120,7 +121,7 @@ public class BasicPipesMain{
//crafting pipes
//{"black", "red", "green", "brown", "blue", "purple", "cyan",
//"silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"};
GameRegistry.addRecipe(new ItemStack(rod, 1), new Object[] { "I@I", 'I',Item.ingotIron,'@',new ItemStack(parts, 1,1)});
//water
GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1,1), new Object[] { new ItemStack(parts, 1,1),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,4)});
//lava TODO change to use obby pipe and nether items

View file

@ -97,7 +97,11 @@ public class SteamPowerMain{
TileEntityBoiler();<- metadata 1
TileEntityFireBox();<-metadata 2-5
*/
GameRegistry.addRecipe(new ItemStack(gen, 1), new Object [] {"@T@", "OVO", "@T@",
'T',new ItemStack(BasicPipesMain.rod, 1),
'@',new ItemStack(BasicComponents.itemSteelPlate),
'O',new ItemStack(BasicComponents.itemCircuit,1,0),
'V',new ItemStack(BasicComponents.itemMotor)});
GameRegistry.addRecipe(new ItemStack(machine, 1, 1), new Object [] {"@T@", "OVO", "@T@",
'T',new ItemStack(BasicPipesMain.parts, 1,6),
'@',new ItemStack(BasicComponents.itemSteelPlate),