" I ",
"III",
'B', "blockSteel",
'I', "ingotSteel");
EnumMachineAlpha alpha = EnumMachineAlpha.COKE_OVEN;
if (alpha.register()) {
ItemStack stack = alpha.getItem();
CraftingPlugin.addShapedRecipe(stack,
"MBM",
"BMB",
"MBM",
'B', new ItemStack(Items.brick),
'M', new ItemStack(Blocks.sand));
if (RailcraftToolItems.getCoalCoke() != null)
RailcraftCraftingManager.cokeOven.addRecipe(new ItemStack(Items.coal, 1, 0), true, false, RailcraftToolItems.getCoalCoke(), Fluids.CREOSOTE.get(COKE_COOK_CREOSOTE), COKE_COOK_TIME);
}
alpha = EnumMachineAlpha.STEAM_OVEN;
if (alpha.register())
CraftingPlugin.addShapedRecipe(alpha.getItem(4),
"SSS",
"SFS",
"SSS",
'F', new ItemStack(Blocks.furnace),
'S', RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL));
alpha = EnumMachineAlpha.BLAST_FURNACE;
if (alpha.register()) {
ItemStack stack = alpha.getItem(4);
CraftingPlugin.addShapedRecipe(stack,
"MBM",
"BPB",
"MBM",
'B', new ItemStack(Blocks.nether_brick),
'M', new ItemStack(Blocks.soul_sand),
'P', Items.magma_cream);
int burnTime = 1280;
ItemIngot.EnumIngot steel = ItemIngot.EnumIngot.STEEL;
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_ingot), false, false, burnTime, ItemIngot.getIngot(steel, 1));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_helmet), true, false, burnTime * 5, ItemIngot.getIngot(steel, 5));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_chestplate), true, false, burnTime * 8, ItemIngot.getIngot(steel, 8));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_leggings), true, false, burnTime * 7, ItemIngot.getIngot(steel, 7));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_boots), true, false, burnTime * 4, ItemIngot.getIngot(steel, 4));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_horse_armor), true, false, burnTime * 4, ItemIngot.getIngot(steel, 4));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_sword), true, false, burnTime * 2, ItemIngot.getIngot(steel, 2));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_shovel), true, false, burnTime, ItemIngot.getIngot(steel, 1));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_pickaxe), true, false, burnTime * 3, ItemIngot.getIngot(steel, 3));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_axe), true, false, burnTime * 3, ItemIngot.getIngot(steel, 3));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_hoe), true, false, burnTime * 2, ItemIngot.getIngot(steel, 2));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.shears), true, false, burnTime * 2, ItemIngot.getIngot(steel, 2));
RailcraftCraftingManager.blastFurnace.addRecipe(ItemCrowbar.getItem(), true, false, burnTime * 3, ItemIngot.getIngot(steel, 3));
RailcraftCraftingManager.blastFurnace.addRecipe(new ItemStack(Items.iron_door), false, false, burnTime * 6, ItemIngot.getIngot(steel, 6));
int recycleTime = burnTime / 2;
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelHelm(), false, false, recycleTime * 4, ItemIngot.getIngot(steel, 4));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelArmor(), false, false, recycleTime * 6, ItemIngot.getIngot(steel, 6));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelLegs(), false, false, recycleTime * 5, ItemIngot.getIngot(steel, 5));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelBoots(), false, false, recycleTime * 3, ItemIngot.getIngot(steel, 3));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelSword(), false, false, recycleTime * 1, ItemIngot.getIngot(steel, 1));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelPickaxe(), false, false, recycleTime * 2, ItemIngot.getIngot(steel, 2));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelHoe(), false, false, recycleTime * 1, ItemIngot.getIngot(steel, 1));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelAxe(), false, false, recycleTime * 2, ItemIngot.getIngot(steel, 2));
RailcraftCraftingManager.blastFurnace.addRecipe(RailcraftToolItems.getSteelShears(), false, false, recycleTime * 1, ItemIngot.getIngot(steel, 1));
}
alpha = EnumMachineAlpha.ROCK_CRUSHER;
if (alpha.register()) {
ItemStack stack = alpha.getItem(4);
CraftingPlugin.addShapedRecipe(stack,
"PDP",
"DSD",
"PDP",
'D', new ItemStack(Items.diamond),
'P', new ItemStack(Blocks.piston),
'S', "blockSteel");
IRockCrusherRecipe recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.obsidian), false, false);
recipe.addOutput(EnumCube.CRUSHED_OBSIDIAN.getItem(), 1.0f);
recipe.addOutput(ItemDust.getDust(ItemDust.EnumDust.OBSIDIAN), 0.25f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(EnumCube.CRUSHED_OBSIDIAN.getItem(), true, false);
recipe.addOutput(ItemDust.getDust(ItemDust.EnumDust.OBSIDIAN), 1.0f);
recipe.addOutput(ItemDust.getDust(ItemDust.EnumDust.OBSIDIAN), 0.25f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(EnumMachineAlpha.COKE_OVEN.getItem(), true, false);
recipe.addOutput(new ItemStack(Items.brick, 3), 1.0f);
recipe.addOutput(new ItemStack(Items.brick), 0.5f);
recipe.addOutput(new ItemStack(Blocks.sand), 0.25f);
recipe.addOutput(new ItemStack(Blocks.sand), 0.25f);
recipe.addOutput(new ItemStack(Blocks.sand), 0.25f);
recipe.addOutput(new ItemStack(Blocks.sand), 0.25f);
recipe.addOutput(new ItemStack(Blocks.sand), 0.25f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(EnumMachineAlpha.BLAST_FURNACE.getItem(), true, false);
recipe.addOutput(new ItemStack(Blocks.nether_brick), 0.75f);
recipe.addOutput(new ItemStack(Blocks.soul_sand), 0.75f);
recipe.addOutput(new ItemStack(Items.blaze_powder), 0.05f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(EnumMachineAlpha.WORLD_ANCHOR.getItem(), true, false);
recipe.addOutput(EnumCube.CRUSHED_OBSIDIAN.getItem(), 1.0f);
recipe.addOutput(EnumCube.CRUSHED_OBSIDIAN.getItem(), 0.5f);
recipe.addOutput(new ItemStack(Items.diamond), 0.5f);
recipe.addOutput(new ItemStack(Blocks.obsidian), 0.25f);
recipe.addOutput(ItemDust.getDust(ItemDust.EnumDust.OBSIDIAN), 0.25f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 16), 1.0f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 8), 0.5f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 8), 0.5f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 4), 0.5f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(EnumMachineAlpha.PERSONAL_ANCHOR.getItem(), true, false);
recipe.addOutput(EnumCube.CRUSHED_OBSIDIAN.getItem(), 1.0f);
recipe.addOutput(EnumCube.CRUSHED_OBSIDIAN.getItem(), 0.5f);
recipe.addOutput(new ItemStack(Items.emerald), 0.5f);
recipe.addOutput(new ItemStack(Blocks.obsidian), 0.25f);
recipe.addOutput(ItemDust.getDust(ItemDust.EnumDust.OBSIDIAN), 0.25f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 16), 1.0f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 8), 0.5f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 8), 0.5f);
recipe.addOutput(new ItemStack(Items.gold_nugget, 4), 0.5f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.cobblestone), false, false);
recipe.addOutput(new ItemStack(Blocks.gravel), 1.0f);
recipe.addOutput(new ItemStack(Items.flint), 0.10f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.mossy_cobblestone), false, false);
recipe.addOutput(new ItemStack(Blocks.gravel), 1.0f);
recipe.addOutput(new ItemStack(Blocks.vine), 0.10f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.gravel), false, false);
recipe.addOutput(new ItemStack(Blocks.sand), 1.0f);
recipe.addOutput(new ItemStack(Items.gold_nugget), 0.001f);
recipe.addOutput(new ItemStack(Items.diamond), 0.00005f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone), false, false);
recipe.addOutput(new ItemStack(Blocks.cobblestone), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.sandstone), false, false);
recipe.addOutput(new ItemStack(Blocks.sand, 4), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.brick_block), false, false);
recipe.addOutput(new ItemStack(Items.brick, 3), 1.0f);
recipe.addOutput(new ItemStack(Items.brick), 0.5f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.clay), false, false);
recipe.addOutput(new ItemStack(Items.clay_ball, 4), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stonebrick), false, false);
recipe.addOutput(new ItemStack(Blocks.cobblestone), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone_stairs), false, false);
recipe.addOutput(new ItemStack(Blocks.gravel), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone_brick_stairs), false, false);
recipe.addOutput(new ItemStack(Blocks.cobblestone), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.nether_brick_stairs), false, false);
recipe.addOutput(new ItemStack(Blocks.nether_brick), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.brick_stairs), false, false);
recipe.addOutput(new ItemStack(Items.brick, 4), 1.0f);
recipe.addOutput(new ItemStack(Items.brick), 0.5f);
recipe.addOutput(new ItemStack(Items.brick), 0.5f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone_slab, 1, 0), true, false);
recipe.addOutput(new ItemStack(Blocks.cobblestone), 0.45f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone_slab, 1, 1), true, false);
recipe.addOutput(new ItemStack(Blocks.sand), 0.45f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone_slab, 1, 3), true, false);
recipe.addOutput(new ItemStack(Blocks.gravel), 0.45f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone_slab, 1, 4), true, false);
recipe.addOutput(new ItemStack(Items.brick), 1.0f);
recipe.addOutput(new ItemStack(Items.brick), 0.75f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.stone_slab, 1, 5), true, false);
recipe.addOutput(new ItemStack(Blocks.cobblestone), 0.45f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.ice), false, false);
recipe.addOutput(new ItemStack(Blocks.snow), 0.85f);
recipe.addOutput(new ItemStack(Items.snowball), 0.25f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.nether_brick_fence), false, false);
recipe.addOutput(new ItemStack(Blocks.nether_brick), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.glowstone), false, false);
recipe.addOutput(new ItemStack(Items.glowstone_dust, 3), 1.0f);
recipe.addOutput(new ItemStack(Items.glowstone_dust), 0.75f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Blocks.redstone_lamp), false, false);
recipe.addOutput(new ItemStack(Items.glowstone_dust, 3), 1.0f);
recipe.addOutput(new ItemStack(Items.glowstone_dust), 0.75f);
recipe.addOutput(new ItemStack(Items.redstone, 3), 1.0f);
recipe.addOutput(new ItemStack(Items.redstone), 0.75f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Items.bone), false, false);
recipe.addOutput(new ItemStack(Items.dye, 4, 15), 1.0f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Items.blaze_rod), false, false);
recipe.addOutput(new ItemStack(Items.blaze_powder, 2), 1.0f);
recipe.addOutput(new ItemStack(Items.blaze_powder), 0.25f);
recipe.addOutput(new ItemStack(Items.blaze_powder), 0.25f);
recipe.addOutput(new ItemStack(Items.blaze_powder), 0.25f);
recipe = RailcraftCraftingManager.rockCrusher.createNewRecipe(new ItemStack(Items.coal, 1, 1), true, false);
recipe.addOutput(ItemDust.getDust(ItemDust.EnumDust.CHARCOAL), 1.0f);
}
alpha = EnumMachineAlpha.ROLLING_MACHINE;
if (alpha.register()) {
ItemStack stack = alpha.getItem();
CraftingPlugin.addShapedRecipe(stack,
"IPI",
"PCP",
"IPI",
'I', Items.iron_ingot,