Package mods.railcraft.common.blocks.machine.gamma

Examples of mods.railcraft.common.blocks.machine.gamma.EnumMachineGamma


        EnumMachineGamma.DISPENSER_TRAIN.register();
    }

    @Override
    public void initSecond() {
        EnumMachineGamma type = EnumMachineGamma.DISPENSER_TRAIN;
        if (type.isAvaliable() && EnumMachineGamma.DISPENSER_CART.isAvaliable()) {
            ItemStack crowbar = ItemCrowbar.getItem();
            crowbar.setItemDamage(-1);
            CraftingPlugin.addShapedRecipe(type.getItem(),
                    "rcr",
                    "cdc",
                    "rcr",
                    'd', EnumMachineGamma.DISPENSER_CART.getItem(),
                    'c', crowbar,
View Full Code Here


                    "XXX",
                    'X', Items.leather,
                    'P', Blocks.stone_pressure_plate);
        }

        EnumMachineGamma gamma = EnumMachineGamma.DISPENSER_CART;
        if (gamma.register())
            CraftingPlugin.addShapedRecipe(gamma.getItem(),
                    "ML",
                    'M', Items.minecart,
                    'L', Blocks.dispenser);

        EnumMachineAlpha alpha = EnumMachineAlpha.FEED_STATION;
View Full Code Here

                    "OPO",
                    "OOO",
                    'O', new ItemStack(Blocks.obsidian),
                    'P', new ItemStack(Items.ender_pearl));

        EnumMachineGamma itemLoader = EnumMachineGamma.ITEM_LOADER;
        if (itemLoader.register()) {
            ItemStack stack = itemLoader.getItem();
            ItemStack detector = EnumDetector.ITEM.getItem();
            if (detector == null)
                detector = new ItemStack(Blocks.stone_pressure_plate);
            CraftingPlugin.addShapedRecipe(stack,
                    "SSS",
                    "SLS",
                    "SDS",
                    'S', new ItemStack(Blocks.cobblestone),
                    'D', detector,
                    'L', new ItemStack(Blocks.hopper));

            itemLoader = EnumMachineGamma.ITEM_LOADER_ADVANCED;
            if (itemLoader.register())
                CraftingPlugin.addShapedRecipe(itemLoader.getItem(),
                        "IRI",
                        "RLR",
                        "ISI",
                        'I', "ingotSteel",
                        'R', Items.redstone,
                        'S', RailcraftToolItems.getSteelShovel(),
                        'L', stack);
        }

        EnumMachineGamma itemUnloader = EnumMachineGamma.ITEM_UNLOADER;
        if (itemUnloader.register()) {
            ItemStack stack = itemUnloader.getItem();
            ItemStack detector = EnumDetector.ITEM.getItem();
            if (detector == null)
                detector = new ItemStack(Blocks.stone_pressure_plate);
            CraftingPlugin.addShapedRecipe(stack,
                    "SSS",
                    "SDS",
                    "SLS",
                    'S', new ItemStack(Blocks.cobblestone),
                    'D', detector,
                    'L', new ItemStack(Blocks.hopper));

            itemUnloader = EnumMachineGamma.ITEM_UNLOADER_ADVANCED;
            if (itemUnloader.register())
                CraftingPlugin.addShapedRecipe(itemUnloader.getItem(),
                        "IRI",
                        "RLR",
                        "ISI",
                        'I', "ingotSteel",
                        'R', Items.redstone,
                        'S', RailcraftToolItems.getSteelShovel(),
                        'L', stack);
        }

        EnumMachineGamma liquidLoader = EnumMachineGamma.LIQUID_LOADER;

        if (liquidLoader.register()) {
            ItemStack detector = EnumDetector.TANK.getItem();
            if (detector == null)
                detector = new ItemStack(Blocks.stone_pressure_plate);
            CraftingPlugin.addShapedRecipe(liquidLoader.getItem(),
                    "GLG",
                    "G G",
                    "GDG",
                    'D', detector,
                    'G', new ItemStack(Blocks.glass),
                    'L', Blocks.hopper);
        }

        EnumMachineGamma liquidUnloader = EnumMachineGamma.LIQUID_UNLOADER;
        if (liquidUnloader.register()) {
            ItemStack detector = EnumDetector.TANK.getItem();
            if (detector == null)
                detector = new ItemStack(Blocks.stone_pressure_plate);
            CraftingPlugin.addShapedRecipe(liquidUnloader.getItem(),
                    "GDG",
                    "G G",
                    "GLG",
                    'D', detector,
                    'G', new ItemStack(Blocks.glass),
View Full Code Here

TOP

Related Classes of mods.railcraft.common.blocks.machine.gamma.EnumMachineGamma

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.