Package mods.railcraft.common.blocks.machine.beta

Examples of mods.railcraft.common.blocks.machine.beta.EnumMachineBeta


    public void initFirst() {

        MinecraftForge.EVENT_BUS.register(DamageSourceSteam.INSTANCE);

//        LiquidItems.getSteamBottle(1);
        EnumMachineBeta beta = EnumMachineBeta.ENGINE_STEAM_HOBBY;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                CraftingPlugin.addShapedRecipe(beta.getItem(),
                        "NNN",
                        " C ",
                        "GPG",
                        'P', new ItemStack(Blocks.piston),
                        'N', new ItemStack(Items.gold_nugget),
                        'C', new ItemStack(Blocks.glass),
                        'G', RailcraftItem.gear.getRecipeObject(EnumGear.GOLD_PLATE));
            }
        }

        beta = EnumMachineBeta.ENGINE_STEAM_LOW;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                CraftingPlugin.addShapedRecipe(beta.getItem(),
                        "III",
                        " C ",
                        "GPG",
                        'P', new ItemStack(Blocks.piston),
                        'I', RailcraftItem.plate.getRecipeObject(EnumPlate.IRON),
                        'C', new ItemStack(Blocks.glass),
                        'G', "gearIron");

                RailcraftCraftingManager.blastFurnace.addRecipe(stack, true, false, 15360, ItemIngot.getIngot(ItemIngot.EnumIngot.STEEL, 12));
            }
        }

        beta = EnumMachineBeta.ENGINE_STEAM_HIGH;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                CraftingPlugin.addShapedRecipe(beta.getItem(),
                        "III",
                        " C ",
                        "GPG",
                        'P', new ItemStack(Blocks.piston),
                        'I', RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL),
                        'C', new ItemStack(Blocks.glass),
                        'G', RailcraftItem.gear.getRecipeObject(EnumGear.STEEL));
            }
        }

        beta = EnumMachineBeta.BOILER_FIREBOX_SOLID;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                CraftingPlugin.addShapedRecipe(beta.getItem(),
                        "BBB",
                        "BCB",
                        "BFB",
                        'B', new ItemStack(Items.brick),
                        'C', new ItemStack(Items.fire_charge),
                        'F', new ItemStack(Blocks.furnace));
            }
        }

        beta = EnumMachineBeta.BOILER_FIREBOX_LIQUID;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                CraftingPlugin.addShapedRecipe(beta.getItem(),
                        "PBP",
                        "GCG",
                        "PFP",
                        'B', new ItemStack(Items.bucket),
                        'G', new ItemStack(Blocks.iron_bars),
                        'C', new ItemStack(Items.fire_charge),
                        'P', RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL),
                        'F', new ItemStack(Blocks.furnace));
            }
        }

        beta = EnumMachineBeta.BOILER_TANK_LOW_PRESSURE;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                CraftingPlugin.addShapedRecipe(beta.getItem(),
                        "P",
                        "P",
                        'P', RailcraftItem.plate.getRecipeObject(EnumPlate.IRON));

                RailcraftCraftingManager.blastFurnace.addRecipe(stack, true, false, 2560, ItemIngot.getIngot(ItemIngot.EnumIngot.STEEL, 2));
            }
        }

        beta = EnumMachineBeta.BOILER_TANK_HIGH_PRESSURE;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                CraftingPlugin.addShapedRecipe(beta.getItem(),
                        "P",
                        "P",
                        'P', RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL));
            }
        }
View Full Code Here


        if (RailcraftConfig.isSubBlockEnabled(alpha.getTag())) {
            RailcraftBlocks.registerBlockMachineAlpha();
            Block block = RailcraftBlocks.getBlockMachineAlpha();
        }

        EnumMachineBeta beta = EnumMachineBeta.SENTINEL;
        if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
            RailcraftBlocks.registerBlockMachineBeta();
            Block block = RailcraftBlocks.getBlockMachineBeta();
            if (block != null) {
                ItemStack stack = beta.getItem();
                if (RailcraftConfig.canCraftAnchors()) {
                    CraftingPlugin.addShapedRecipe(stack,
                            " p ",
                            " o ",
                            "ogo",
View Full Code Here

                    'W', "plankWood");

        initIronTank();
        initSteelTank();

        EnumMachineBeta voidChest = EnumMachineBeta.VOID_CHEST;
        if (voidChest.register())
            CraftingPlugin.addShapedRecipe(voidChest.getItem(),
                    "OOO",
                    "OPO",
                    "OOO",
                    'O', new ItemStack(Blocks.obsidian),
                    'P', new ItemStack(Items.ender_pearl));
View Full Code Here

                    'P', Blocks.piston,
                    'C', Blocks.crafting_table);
        } else
            RollingMachineCraftingManager.copyRecipesToWorkbench();

        EnumMachineBeta metalsChest = EnumMachineBeta.METALS_CHEST;
        if (metalsChest.register())
            CraftingPlugin.addShapedRecipe(metalsChest.getItem(),
                    "GPG",
                    "PAP",
                    "GPG",
                    'A', new ItemStack(Blocks.anvil),
                    'P', new ItemStack(Blocks.piston),
View Full Code Here

TOP

Related Classes of mods.railcraft.common.blocks.machine.beta.EnumMachineBeta

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.