Added a ton of IC2 crafting recipes

This commit is contained in:
Tntrololol 2015-05-07 12:39:47 -05:00
parent e8fc6d5a07
commit 4f0942f215
6 changed files with 299 additions and 8 deletions

View file

@ -1,5 +1,7 @@
package techreborn.compat.recipes;
import cpw.mods.fml.common.Mod;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import ic2.api.item.IC2Items;
@ -72,12 +74,282 @@ public class RecipesIC2 {
'C',IC2Items.getItem("electronicCircuit") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.thermalGenerator),
new Object[]
{ "III", "IHI", "CGC",
'I', "ingotInvar",
'H', IC2Items.getItem("reinforcedGlass"),
'C', IC2Items.getItem("electronicCircuit"),
'G', IC2Items.getItem("geothermalGenerator") });
new Object[]
{ "III", "IHI", "CGC",
'I', "plateInvar",
'H', IC2Items.getItem("reinforcedGlass"),
'C', "circuitBasic",
'G', IC2Items.getItem("geothermalGenerator") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.thermalGenerator),
new Object[]
{ "AAA", "AHA", "CGC",
'A', "plateAluminum",
'H', IC2Items.getItem("reinforcedGlass"),
'C', "circuitBasic",
'G', IC2Items.getItem("geothermalGenerator") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Semifluidgenerator),
new Object[]
{ "III", "IHI", "CGC",
'I', "plateIron",
'H', IC2Items.getItem("reinforcedGlass"),
'C', "circuitBasic",
'G', IC2Items.getItem("generator") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Semifluidgenerator),
new Object[]
{ "AAA", "AHA", "CGC",
'A', "plateAluminum",
'H', IC2Items.getItem("reinforcedGlass"),
'C', "circuitBasic",
'G', IC2Items.getItem("generator") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.DieselGenerator),
new Object[]
{ "III", "I I", "CGC",
'I', "plateIron",
'C', "circuitBasic",
'G', IC2Items.getItem("generator") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.DieselGenerator),
new Object[]
{ "AAA", "A A", "CGC",
'A', "plateAluminum",
'C', "circuitBasic",
'G', IC2Items.getItem("generator") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.MagicalAbsorber),
new Object[]
{ "CSC", "IBI", "CAC",
'C', "circuitMaster",
'S', "craftingSuperconductor",
'B', Blocks.beacon,
'A', ModBlocks.Magicenergeyconverter,
'I', IC2Items.getItem("iridiumPlate") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Magicenergeyconverter),
new Object[]
{ "CTC", "PBP", "CLC",
'C', "circuitAdvanced",
'P', "platePlatinum",
'B', Blocks.beacon,
'L', IC2Items.getItem("lapotronCrystal"),
'T', IC2Items.getItem("teleporter") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Dragoneggenergysiphoner),
new Object[]
{ "CTC", "ISI", "CBC",
'I', IC2Items.getItem("iridiumPlate"),
'C', "circuitMaster",
'B', "batteryUltimate",
'S', ModBlocks.Supercondensator,
'T', IC2Items.getItem("teleporter") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.centrifuge),
new Object[]
{ "SCS", "BEB", "SCS",
'S', "plateSteel",
'C', "circuitAdvanced",
'B', IC2Items.getItem("advancedMachine"),
'E', IC2Items.getItem("extractor") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.IndustrialElectrolyzer),
new Object[]
{ "SXS", "CEC", "SMS",
'S', "plateSteel",
'C', "circuitAdvanced",
'X', IC2Items.getItem("extractor"),
'E', IC2Items.getItem("electrolyzer"),
'M', IC2Items.getItem("magnetizer") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.BlastFurnace),
new Object[]
{ "CHC", "HBH", "FHF",
'H', new ItemStack(ModItems.parts, 1, 17),
'C', "circuitAdvanced",
'B', IC2Items.getItem("advancedMachine"),
'F', IC2Items.getItem("inductionFurnace") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Grinder),
new Object[]
{ "ECP", "GGG", "CBC",
'E', ModBlocks.IndustrialElectrolyzer,
'P', IC2Items.getItem("pump"),
'C', "circuitAdvanced",
'B', IC2Items.getItem("advancedMachine"),
'G', "craftingGrinder" });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.ImplosionCompressor),
new Object[]
{ "ABA", "CPC", "ABA",
'A', IC2Items.getItem("advancedAlloy"),
'C', "circuitAdvanced",
'B', IC2Items.getItem("advancedMachine"),
'P', IC2Items.getItem("compressor") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.VacuumFreezer),
new Object[]
{ "SPS", "CGC", "SPS",
'S', "plateSteel",
'C', "circuitAdvanced",
'G', IC2Items.getItem("reinforcedGlass"),
'P', IC2Items.getItem("pump") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Distillationtower),
new Object[]
{ "CMC", "PBP", "EME",
'E', ModBlocks.IndustrialElectrolyzer,
'M', "circuitMaster",
'B', IC2Items.getItem("advancedMachine"),
'C', ModBlocks.centrifuge,
'P', IC2Items.getItem("pump") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.AlloyFurnace),
new Object[]
{ "III", "F F", "III",
'I', "plateIron",
'F', IC2Items.getItem("ironFurnace") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.AlloySmelter),
new Object[]
{ "IHI", "CFC", "IHI",
'I', "plateInvar",
'C', "circuitBasic",
'H', new ItemStack(ModItems.parts, 1, 17),
'F', ModBlocks.AlloyFurnace });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.AssemblyMachine),
new Object[]
{ "CPC", "SBS", "CSC",
'S', "plateSteel",
'C', "circuitBasic",
'B', IC2Items.getItem("machine"),
'P', "craftingPiston" });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.ChemicalReactor),
new Object[]
{ "IMI", "CPC", "IEI",
'I', "plateInvar",
'C', "circuitAdvanced",
'M', IC2Items.getItem("magnetizer"),
'P', IC2Items.getItem("compressor"),
'E', IC2Items.getItem("extractor") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.ChemicalReactor),
new Object[]
{ "AMA", "CPC", "AEA",
'A', "plateAluminum",
'C', "circuitAdvanced",
'M', IC2Items.getItem("magnetizer"),
'P', IC2Items.getItem("compressor"),
'E', IC2Items.getItem("extractor") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.lathe),
new Object[]
{ "SLS", "GBG", "SCS",
'S', "plateSteel",
'C', "circuitAdvanced",
'G', "gearSteel",
'B', IC2Items.getItem("advancedMachine"),
'L', IC2Items.getItem("LathingTool") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.platecuttingmachine),
new Object[]
{ "SCS", "GDG", "SBS",
'S', "plateSteel",
'C', "circuitAdvanced",
'G', "gearSteel",
'B', IC2Items.getItem("advancedMachine"),
'D', new ItemStack(ModItems.parts, 1, 9) });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.RollingMachine),
new Object[]
{ "PCP", "MBM", "PCP",
'P', "craftingPiston",
'C', "circuitAdvanced",
'M', IC2Items.getItem("compressor"),
'B', IC2Items.getItem("machine") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.ElectricCraftingTable),
new Object[]
{ "ITI", "IBI", "ICI",
'I', "plateIron",
'C', "circuitAdvanced",
'T', "crafterWood",
'B', IC2Items.getItem("machine") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.ElectricCraftingTable),
new Object[]
{ "ATA", "ABA", "ACA",
'A', "plateAluminum",
'C', "circuitAdvanced",
'T', "crafterWood",
'B', IC2Items.getItem("machine") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.ChunkLoader),
new Object[]
{ "SCS", "CMC", "SCS",
'S', "plateSteel",
'C', "circuitMaster",
'M', new ItemStack(ModItems.parts, 1, 39) });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Lesu),
new Object[]
{ " L ", "CBC", " M ",
'L', IC2Items.getItem("lvTransformer"),
'C', "circuitAdvanced",
'M', IC2Items.getItem("mvTransformer"),
'B', ModBlocks.LesuStorage });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.LesuStorage),
new Object[]
{ "LLL", "LCL", "LLL",
'L', "blockLapis",
'C', "circuitBasic" });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Woodenshelf),
new Object[]
{ "WWW", "A A", "WWW",
'W', "plankWood",
'A', "plateAluminum" });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.Metalshelf),
new Object[]
{ "III", "A A", "III",
'I', "plateIron",
'A', "plateAluminum" });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.HighAdvancedMachineBlock),
new Object[]
{ "CTC", "TBT", "CTC",
'C', "plateChrome",
'T', "plateTitanium",
'B', IC2Items.getItem("advancedMachine") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.MachineCasing, 4, 0),
new Object[]
{ "III", "CBC", "III",
'I', "plateIron",
'C', "circuitBasic",
'B', IC2Items.getItem("machine") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.MachineCasing, 4, 1),
new Object[]
{ "SSS", "CBC", "SSS",
'S', "plateSteel",
'C', "circuitAdvanced",
'B', IC2Items.getItem("advancedMachine") });
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.MachineCasing, 4, 2),
new Object[]
{ "HHH", "CBC", "HHH",
'H', "plateChrome",
'C', "circuitElite",
'B', ModBlocks.HighAdvancedMachineBlock });
LogHelper.info("Added Expensive IC2 Recipes");
}

View file

@ -2,6 +2,7 @@ package techreborn.init;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import techreborn.blocks.BlockAesu;
@ -300,6 +301,10 @@ public class ModBlocks {
OreDictionary.registerOre("blockNickel", new ItemStack(storage, 1, 14));
OreDictionary.registerOre("blockInvar", new ItemStack(storage, 1, 15));
OreDictionary.registerOre("craftingPiston", Blocks.piston);
OreDictionary.registerOre("craftingPiston", Blocks.sticky_piston);
OreDictionary.registerOre("crafterWood", Blocks.crafting_table);
}
}

View file

@ -536,6 +536,20 @@ public class ModItems {
OreDictionary.registerOre("crushedPurifiedTetrahedrite", new ItemStack(purifiedCrushedOre, 1, 14));
OreDictionary.registerOre("crushedPurifiedTungsten", new ItemStack(purifiedCrushedOre, 1, 15));
// Purified Crushed Ore
OreDictionary.registerOre("craftingGrinder", new ItemStack(parts, 1, 8));
OreDictionary.registerOre("craftingGrinder", new ItemStack(parts, 1, 10));
OreDictionary.registerOre("circuitMaster", new ItemStack(parts, 1, 4));
OreDictionary.registerOre("circuitElite", new ItemStack(parts, 1, 5));
OreDictionary.registerOre("craftingSuperconductor", new ItemStack(parts, 1, 30));
OreDictionary.registerOre("batteryUltimate", new ItemStack(lapotronpack));
OreDictionary.registerOre("gearBronze", new ItemStack(parts, 1, 20));
OreDictionary.registerOre("gearIron", new ItemStack(parts, 1, 21));
OreDictionary.registerOre("gearTitanium", new ItemStack(parts, 1, 22));
OreDictionary.registerOre("gearSteel", new ItemStack(parts, 1, 23));
OreDictionary.registerOre("gearTungstensteel", new ItemStack(parts, 1, 24));
OreDictionary.registerOre("blockLapis", new ItemStack(parts, 1, 27));
}
}

View file

@ -19,9 +19,9 @@ public class ItemParts extends Item {
"NaKCoolantSimple", "NaKCoolantTriple", "NaKCoolantSix",
"cupronickelHeatingCoil", "nichromeHeatingCoil", "kanthalHeatingCoil",
"bronzeGear", "ironGear", "titaniumGear", "steelGear", "tungstensteelGear",
"laserFocus", "ductTape", "lazuriteChunk", "iridiumAlloyIngot", "rockCutterBlade",
"laserFocus", "ductTape", "lazuriteChunk", "iridiumAlloyIngot", "rockCutterBlade", "superconductor",
"thoriumCell", "doubleThoriumCell", "quadThoriumCell", "plutoniumCell", "doublePlutoniumCell",
"quadPlutoniumCell", "destructoPack", "iridiumNeutronReflector" };
"quadPlutoniumCell", "destructoPack", "iridiumNeutronReflector", "massHoleDevice" };
private IIcon[] textures;

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B