This commit is contained in:
Gig 2015-06-08 23:22:10 +01:00
commit 77c4ea4820

View file

@ -19,6 +19,7 @@ import techreborn.api.recipe.machines.IndustrialSawmillRecipe;
import techreborn.api.recipe.machines.LatheRecipe;
import techreborn.api.recipe.machines.PlateCuttingMachineRecipe;
import techreborn.config.ConfigTechReborn;
import techreborn.items.*;
import techreborn.util.CraftingHelper;
import techreborn.util.LogHelper;
import cpw.mods.fml.common.registry.GameRegistry;
@ -175,60 +176,60 @@ public class ModRecipes {
public static void addAlloySmelterRecipes(){
//Bronze
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 3, 9), new ItemStack(ModItems.ingots, 1, 26), new ItemStack(ModItems.ingots, 4, 6), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 3, 9), new ItemStack(ModItems.dusts, 1, 77), new ItemStack(ModItems.ingots, 4, 6), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 21), new ItemStack(ModItems.ingots, 1, 26), new ItemStack(ModItems.ingots, 4, 6), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 21), new ItemStack(ModItems.dusts, 1, 77), new ItemStack(ModItems.ingots, 4, 6), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 3), ItemIngots.getIngotByName("tin", 1), ItemIngots.getIngotByName("bronze", 4), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 3), ItemDusts.getDustByName("tin", 1), ItemIngots.getIngotByName("bronze", 4), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 3), ItemIngots.getIngotByName("tin", 1), ItemIngots.getIngotByName("bronze", 4), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 3), ItemDusts.getDustByName("tin", 1), ItemIngots.getIngotByName("bronze", 4), 200, 16));
//Electrum
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.gold_ingot, 1), new ItemStack(ModItems.ingots, 1, 23), new ItemStack(ModItems.ingots, 2, 11), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.gold_ingot, 1), new ItemStack(ModItems.dusts, 1, 68), new ItemStack(ModItems.ingots, 2, 11), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 32), new ItemStack(ModItems.ingots, 1, 26), new ItemStack(ModItems.ingots, 2, 11), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 32), new ItemStack(ModItems.dusts, 1, 68), new ItemStack(ModItems.ingots, 2, 11), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.gold_ingot, 1), ItemIngots.getIngotByName("silver", 1), ItemIngots.getIngotByName("electrum", 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.gold_ingot, 1), ItemDusts.getDustByName("silver", 1), ItemIngots.getIngotByName("electrum", 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("gold", 1), ItemIngots.getIngotByName("silver", 1), ItemIngots.getIngotByName("electrum", 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("gold", 1), ItemDusts.getDustByName("silver", 1), ItemIngots.getIngotByName("electrum", 2), 200, 16));
//Invar
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.iron_ingot, 2), new ItemStack(ModItems.ingots, 1, 20), new ItemStack(ModItems.ingots, 3, 13), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.iron_ingot, 2), new ItemStack(ModItems.dusts, 1, 53), new ItemStack(ModItems.ingots, 3, 13), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 2, 38), new ItemStack(ModItems.ingots, 1, 20), new ItemStack(ModItems.ingots, 3, 13), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 2, 38), new ItemStack(ModItems.dusts, 1, 53), new ItemStack(ModItems.ingots, 3, 13), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.iron_ingot, 2), ItemIngots.getIngotByName("nickel", 1), ItemIngots.getIngotByName("invar", 3), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.iron_ingot, 2), ItemDusts.getDustByName("nickel", 1), ItemIngots.getIngotByName("invar", 3), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("iron", 2), ItemIngots.getIngotByName("nickel", 1), ItemIngots.getIngotByName("invar", 3), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("iron", 2), ItemDusts.getDustByName("nickel", 1), ItemIngots.getIngotByName("invar", 3), 200, 16));
//Cupronickel
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 1, 9), new ItemStack(ModItems.ingots, 1, 20), new ItemStack(ModItems.ingots, 2, 10), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 1, 9), new ItemStack(ModItems.dusts, 1, 53), new ItemStack(ModItems.ingots, 2, 10), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 21), new ItemStack(ModItems.ingots, 1, 20), new ItemStack(ModItems.ingots, 2, 10), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 21), new ItemStack(ModItems.dusts, 1, 53), new ItemStack(ModItems.ingots, 2, 10), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 1), ItemIngots.getIngotByName("nickel", 1), ItemIngots.getIngotByName("cupronickel", 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 1), ItemDusts.getDustByName("nickel", 1), ItemIngots.getIngotByName("cupronickel", 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 1), ItemIngots.getIngotByName("nickel", 1), ItemIngots.getIngotByName("cupronickel", 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 1), ItemDusts.getDustByName("nickel", 1), ItemIngots.getIngotByName("cupronickel", 2), 200, 16));
//Nichrome
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 1, 8), new ItemStack(ModItems.ingots, 4, 20), new ItemStack(ModItems.ingots, 5, 19), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 1, 8), new ItemStack(ModItems.dusts, 4, 53), new ItemStack(ModItems.ingots, 5, 19), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 16), new ItemStack(ModItems.ingots, 4, 20), new ItemStack(ModItems.ingots, 5, 19), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 16), new ItemStack(ModItems.dusts, 4, 53), new ItemStack(ModItems.ingots, 5, 19), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("chrome", 1), ItemIngots.getIngotByName("nickel", 4), ItemIngots.getIngotByName("nichrome", 5), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("chrome", 1), ItemDusts.getDustByName("nickel", 4), ItemIngots.getIngotByName("nichrome", 5), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("chrome", 1), ItemIngots.getIngotByName("nickel", 4), ItemIngots.getIngotByName("nichrome", 5), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("chrome", 1), ItemDusts.getDustByName("nickel", 4), ItemIngots.getIngotByName("nichrome", 5), 200, 16));
//Magnalium
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 45), new ItemStack(ModItems.ingots, 4, 0), new ItemStack(ModItems.ingots, 3, 18), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 45), new ItemStack(ModItems.dusts, 4, 2), new ItemStack(ModItems.ingots, 3, 18), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("magnesium", 1), ItemIngots.getIngotByName("aluminum", 4), ItemIngots.getIngotByName("magnalium", 3), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("magnesium", 1), ItemDusts.getDustByName("aluminum", 4), ItemIngots.getIngotByName("magnalium", 3), 200, 16));
//Battery Alloy
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 4, 16), new ItemStack(ModItems.ingots, 1, 1), new ItemStack(ModItems.ingots, 5, 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 4, 16), new ItemStack(ModItems.dusts, 1, 5), new ItemStack(ModItems.ingots, 5, 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 4, 42), new ItemStack(ModItems.ingots, 1, 1), new ItemStack(ModItems.ingots, 5, 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 4, 42), new ItemStack(ModItems.dusts, 1, 5), new ItemStack(ModItems.ingots, 5, 2), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("lead", 4), ItemIngots.getIngotByName("antimony", 1), ItemIngots.getIngotByName("batteryAlloy", 5), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("lead", 4), ItemDusts.getDustByName("antimony", 1), ItemIngots.getIngotByName("batteryAlloy", 5), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("lead", 4), ItemIngots.getIngotByName("antimony", 1), ItemIngots.getIngotByName("batteryAlloy", 5), 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("lead", 4), ItemDusts.getDustByName("antimony", 1), ItemIngots.getIngotByName("batteryAlloy", 5), 200, 16));
//Brass
if(OreDictionary.doesOreNameExist("ingotBrass")) {
ItemStack brassStack = OreDictionary.getOres("ingotBrass").get(0);
brassStack.stackSize = 4;
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 3, 9), new ItemStack(ModItems.ingots, 1, 31), brassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 3, 9), new ItemStack(ModItems.dusts, 1, 84), brassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 21), new ItemStack(ModItems.ingots, 1, 31), brassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 21), new ItemStack(ModItems.dusts, 1, 84), brassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 3), ItemIngots.getIngotByName("zinc", 1), brassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 3), ItemDusts.getDustByName("zinc", 1), brassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 3), ItemIngots.getIngotByName("zinc", 1), brassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 3), ItemDusts.getDustByName("zinc", 1), brassStack, 200, 16));
}
//Red Alloy
if(OreDictionary.doesOreNameExist("ingotRedAlloy")) {
ItemStack redAlloyStack = OreDictionary.getOres("ingotRedAlloy").get(0);
redAlloyStack.stackSize = 1;
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.redstone, 4), new ItemStack(ModItems.ingots, 1, 9), redAlloyStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.redstone, 4), ItemIngots.getIngotByName("copper", 1), redAlloyStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.redstone, 4), new ItemStack(Items.iron_ingot, 1), redAlloyStack, 200, 16));
}
@ -236,7 +237,7 @@ public class ModRecipes {
if(OreDictionary.doesOreNameExist("ingotBlueAlloy")) {
ItemStack blueAlloyStack = OreDictionary.getOres("ingotBlueAlloy").get(0);
blueAlloyStack.stackSize = 1;
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 4, 75), new ItemStack(ModItems.ingots, 1, 23), blueAlloyStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("teslatite", 4), ItemIngots.getIngotByName("silver", 1), blueAlloyStack, 200, 16));
}
//Blue Alloy
@ -245,7 +246,7 @@ public class ModRecipes {
purpleAlloyStack.stackSize = 1;
ItemStack infusedTeslatiteStack = OreDictionary.getOres("ingotPurpleAlloy").get(0);
infusedTeslatiteStack.stackSize = 8;
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 1, 3), new ItemStack(ModItems.ingots, 1, 4), purpleAlloyStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("redAlloy", 1), ItemIngots.getIngotByName("blueAlloy", 1), purpleAlloyStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.gold_ingot, 1), infusedTeslatiteStack, purpleAlloyStack, 200, 16));
}
@ -253,10 +254,10 @@ public class ModRecipes {
if(OreDictionary.doesOreNameExist("ingotAluminumBrass")) {
ItemStack aluminumBrassStack = OreDictionary.getOres("ingotAluminumBrass").get(0);
aluminumBrassStack.stackSize = 4;
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 3, 9), new ItemStack(ModItems.ingots, 1, 0), aluminumBrassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.ingots, 3, 9), new ItemStack(ModItems.dusts, 1, 2), aluminumBrassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 21), new ItemStack(ModItems.ingots, 1, 0), aluminumBrassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 3, 21), new ItemStack(ModItems.dusts, 1, 2), aluminumBrassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 3), ItemIngots.getIngotByName("aluminum", 1), aluminumBrassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemIngots.getIngotByName("copper", 3), ItemDusts.getDustByName("aluminum", 1), aluminumBrassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 3), ItemIngots.getIngotByName("aluminum", 1), aluminumBrassStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("copper", 3), ItemDusts.getDustByName("aluminum", 1), aluminumBrassStack, 200, 16));
}
//Manyullyn
@ -268,9 +269,9 @@ public class ModRecipes {
ItemStack arditeStack = OreDictionary.getOres("ingotArdite").get(0);
arditeStack.stackSize = 1;
RecipeHandler.addRecipe(new AlloySmelterRecipe(cobaltStack, arditeStack, manyullynStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(cobaltStack, new ItemStack(ModItems.dusts, 1, 6), manyullynStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 20), arditeStack, manyullynStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(ModItems.dusts, 1, 20), new ItemStack(ModItems.dusts, 1, 6), manyullynStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(cobaltStack, ItemDusts.getDustByName("ardite", 1), manyullynStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("cobalt", 1), arditeStack, manyullynStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(ItemDusts.getDustByName("cobalt", 1), ItemDusts.getDustByName("ardite", 1), manyullynStack, 200, 16));
}
//Conductive Iron
@ -294,7 +295,7 @@ public class ModRecipes {
ItemStack pulsatingIronStack = OreDictionary.getOres("ingotPhasedIron").get(0);
pulsatingIronStack.stackSize = 1;
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.iron_ingot, 1), new ItemStack(Items.ender_pearl, 1), pulsatingIronStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.iron_ingot, 1), new ItemStack(ModItems.dusts, 1, 29), pulsatingIronStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(new ItemStack(Items.iron_ingot, 1), ItemDusts.getDustByName("enderPearl", 1), pulsatingIronStack, 200, 16));
}
//Vibrant Alloy
@ -304,7 +305,7 @@ public class ModRecipes {
ItemStack vibrantAlloyStack = OreDictionary.getOres("ingotPhasedGold").get(0);
vibrantAlloyStack.stackSize = 1;
RecipeHandler.addRecipe(new AlloySmelterRecipe(energeticAlloyStack, new ItemStack(Items.ender_pearl, 1), vibrantAlloyStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(energeticAlloyStack, new ItemStack(ModItems.dusts, 1, 29), vibrantAlloyStack, 200, 16));
RecipeHandler.addRecipe(new AlloySmelterRecipe(energeticAlloyStack, ItemDusts.getDustByName("enderPearl", 1), vibrantAlloyStack, 200, 16));
}
//Soularium
@ -318,161 +319,161 @@ public class ModRecipes {
public static void addLatheRecipes() {
//Metal Rods
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 5), new ItemStack(ModItems.rods, 1, 0), 300, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 6), new ItemStack(ModItems.rods, 1, 1), 380, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 9), new ItemStack(ModItems.rods, 1, 2), 300, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 11), new ItemStack(ModItems.rods, 1, 3), 740, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(Items.gold_ingot), new ItemStack(ModItems.rods, 1, 4), 980, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 13), new ItemStack(ModItems.rods, 1, 5), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 14), new ItemStack(ModItems.rods, 1, 6), 960, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(Items.iron_ingot), new ItemStack(ModItems.rods, 1, 7), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 16), new ItemStack(ModItems.rods, 1, 8), 1020, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 20), new ItemStack(ModItems.rods, 1, 9), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 22), new ItemStack(ModItems.rods, 1, 10), 960, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 23), new ItemStack(ModItems.rods, 1, 11), 520, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 24), new ItemStack(ModItems.rods, 1, 12), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 26), new ItemStack(ModItems.rods, 1, 13), 580, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 27), new ItemStack(ModItems.rods, 1, 14), 240, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.ingots, 1, 30), new ItemStack(ModItems.rods, 1, 15), 580, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("brass", 1), ItemRods.getRodByName("brass", 1), 300, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("bronze", 1), ItemRods.getRodByName("bronze", 1), 380, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("copper", 1), ItemRods.getRodByName("copper", 1), 300, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("electrum", 1), ItemRods.getRodByName("electrum", 1), 740, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(Items.gold_ingot), ItemRods.getRodByName("gold", 1), 980, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("invar", 1), ItemRods.getRodByName("invar", 1), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("iridium", 1), ItemRods.getRodByName("iridium", 1), 960, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(Items.iron_ingot), ItemRods.getRodByName("iron", 1), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("lead", 1), ItemRods.getRodByName("lead", 1), 1020, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("nickel", 1), ItemRods.getRodByName("nickel", 1), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("platinum", 1), ItemRods.getRodByName("platinum", 1), 960, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("silver", 1), ItemRods.getRodByName("silver", 1), 520, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("steel", 1), ItemRods.getRodByName("steel", 1), 280, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("tin", 1), ItemRods.getRodByName("tin", 1), 580, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("titanium", 1), ItemRods.getRodByName("titanium", 1), 240, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemIngots.getIngotByName("tungstensteel", 1), ItemRods.getRodByName("tungstensteel", 1), 580, 16));
//Laser Focus
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.plate, 1, 22), new ItemStack(ModItems.parts, 1, 25), 10, 16));
RecipeHandler.addRecipe(new LatheRecipe(new ItemStack(ModItems.plate, 1, 24), new ItemStack(ModItems.parts, 1, 25), 10, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemPlates.getPlateByName("ruby", 1), ItemParts.getPartByName("laserFocus", 1), 10, 16));
RecipeHandler.addRecipe(new LatheRecipe(ItemPlates.getPlateByName("redGarnet", 1), ItemParts.getPartByName("laserFocus", 1), 10, 16));
}
public static void addPlateCuttingMachineRecipes() {
//Storage Blocks
if(OreDictionary.doesOreNameExist("blockAluminum")) {
ItemStack blockStack = OreDictionary.getOres("blockAluminum").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 0), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("aluminum", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockBrass")) {
ItemStack blockStack = OreDictionary.getOres("blockBrass").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 2), 200, 116));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("brass", 9), 200, 116));
}
if(OreDictionary.doesOreNameExist("blockBronze")) {
ItemStack blockStack = OreDictionary.getOres("blockBronze").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 3), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("bronze", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockCoal")) {
ItemStack blockStack = OreDictionary.getOres("blockCoal").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 4), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("carbon", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockChrome")) {
ItemStack blockStack = OreDictionary.getOres("blockChrome").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 5), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("chrome", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockCopper")) {
ItemStack blockStack = OreDictionary.getOres("blockCopper").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 6), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("copper", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockDiamond")) {
ItemStack blockStack = OreDictionary.getOres("blockDiamond").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 7), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("diamond", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockElectrum")) {
ItemStack blockStack = OreDictionary.getOres("blockElectrum").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 8), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("electrum", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockEmerald")) {
ItemStack blockStack = OreDictionary.getOres("blockEmerald").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 9), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("emerald", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockGold")) {
ItemStack blockStack = OreDictionary.getOres("blockGold").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 10), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("gold", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockInvar")) {
ItemStack blockStack = OreDictionary.getOres("blockInvar").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 11), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("invar", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockIridium")) {
ItemStack blockStack = OreDictionary.getOres("blockIridium").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 12), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("iridium", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockIron")) {
ItemStack blockStack = OreDictionary.getOres("blockIron").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 13), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("iron", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockLapis")) {
ItemStack blockStack = OreDictionary.getOres("blockLapis").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 14), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("lapis", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockLead")) {
ItemStack blockStack = OreDictionary.getOres("blockLead").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 15), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("lead", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockNickel")) {
ItemStack blockStack = OreDictionary.getOres("blockNickel").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 17), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("nickel", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockOsmium")) {
ItemStack blockStack = OreDictionary.getOres("blockOsmium").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 19), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("osmium", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockPeridot")) {
ItemStack blockStack = OreDictionary.getOres("blockPeridot").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 20), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("peridot", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockPlatinum")) {
ItemStack blockStack = OreDictionary.getOres("blockPlatinum").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 21), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("platinum", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockRedGarnet")) {
ItemStack blockStack = OreDictionary.getOres("blockRedGarnet").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 22), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("redGarnet", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("BlockRedstone")) {
ItemStack blockStack = OreDictionary.getOres("blockRedstone").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 23), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("redstone", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockRuby")) {
ItemStack blockStack = OreDictionary.getOres("blockRuby").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 24), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("ruby", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockSapphire")) {
ItemStack blockStack = OreDictionary.getOres("blockSapphire").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 25), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("sapphire", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockSilver")) {
ItemStack blockStack = OreDictionary.getOres("blockSilver").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 27), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("silver", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockSteel")) {
ItemStack blockStack = OreDictionary.getOres("blockSteel").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 28), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("steel", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockTeslatite")) {
ItemStack blockStack = OreDictionary.getOres("blockTeslatite").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 29), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("teslatite", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockTin")) {
ItemStack blockStack = OreDictionary.getOres("blockTin").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 30), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("tin", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockTitanium")) {
ItemStack blockStack = OreDictionary.getOres("blockTitanium").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 31), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("titanium", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockTungsten")) {
ItemStack blockStack = OreDictionary.getOres("blockTungsten").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 32), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("tungsten", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockTungstensteel")) {
ItemStack blockStack = OreDictionary.getOres("blockTungstensteel").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 33), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("tungstensteel", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockYellowGarnet")) {
ItemStack blockStack = OreDictionary.getOres("blockYellowGarnet").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 34), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("yellowGarnet", 9), 200, 16));
}
if(OreDictionary.doesOreNameExist("blockZinc")) {
ItemStack blockStack = OreDictionary.getOres("blockZinc").get(0);
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, new ItemStack(ModItems.plate, 9, 35), 200, 16));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(blockStack, ItemPlates.getPlateByName("zinc", 9), 200, 16));
}
//Obsidian
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(new ItemStack(Blocks.obsidian), new ItemStack(ModItems.plate, 9, 18), 100, 4));
RecipeHandler.addRecipe(new PlateCuttingMachineRecipe(new ItemStack(Blocks.obsidian), ItemPlates.getPlateByName("obsidian", 9), 100, 4));
}
public static void addUUrecipes() {