Package net.minecraftforge.oredict

Examples of net.minecraftforge.oredict.ShapedOreRecipe


                'i', PartDefs.IRONCOIL().makeStack()
                );

        /** Backpacks **/
        for (int i = 0; i < 16; i++) {
            GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ProjectRedExploration.itemBackpack(), 1, i),
                    "ccc",
                    "cdc",
                    "ccc",
                    'c', PartDefs.WOVENCLOTH().makeStack(),
                    'd', Colors.get(i).getOreDict()
View Full Code Here


                'R', PartDefs.CONDUCTIVEPLATE().makeStack(),
                'S', PartDefs.SILICONCHIP().makeStack()
                );

        /** Bus Input Panel **/
        GameRegistry.addRecipe(new ShapedOreRecipe(EnumGate.BusInputPanel.makeStack(),
                "BRB",
                "BIB",
                "BBB",
                'B', PartDefs.BUNDLEDPLATE().makeStack(),
                'R', PartDefs.CONDUCTIVEPLATE().makeStack(),
View Full Code Here

            "II",
            "II",
            'I', Items.iron_ingot});

        // Steel Plate
        IRecipe recipe = new ShapedOreRecipe(new ItemStack(this, 4, 1), new Object[]{
            "II",
            "II",
            'I', "ingotSteel"});
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

        // Tin Plate
        recipe = new ShapedOreRecipe(new ItemStack(this, 4, 2), new Object[]{
            "IT",
            "TI",
            'I', Items.iron_ingot,
            'T', "ingotTin"});
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);
View Full Code Here

                    'P', RailcraftItem.plate.getRecipeObject(EnumPlate.TIN),
                    'C', "ingotCopper");

        EnumMachineDelta delta = EnumMachineDelta.WIRE;
        if (delta.register())
            RailcraftCraftingManager.rollingMachine.getRecipeList().add(new ShapedOreRecipe(delta.getItem(8),
                    "LPL",
                    "PCP",
                    "LPL",
                    'C', "blockCopper",
                    'P', Items.paper,
View Full Code Here

                    " I ",
                    'T', BlockRailcraftSlab.getItem(EnumBlockMaterial.IRON),
                    'I', EnumPost.METAL.getItem());

            stack = EnumPost.METAL.getItem(32);
            IRecipe recipe = new ShapedOreRecipe(stack,
                    "III",
                    " I ",
                    "III",
                    'I', "ingotSteel");
            RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);
            recipe = new ShapedOreRecipe(stack,
                    "I I",
                    "III",
                    "I I",
                    'I', "ingotSteel");
            RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

            stack = EnumPost.METAL.getItem(12);
            recipe = new ShapedOreRecipe(stack,
                    "III",
                    " I ",
                    "III",
                    'I', "ingotBronze");
            RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);
            recipe = new ShapedOreRecipe(stack,
                    "I I",
                    "III",
                    "I I",
                    'I', "ingotBronze");
            RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

            stack = EnumPost.METAL.getItem(20);
            recipe = new ShapedOreRecipe(stack,
                    "III",
                    " I ",
                    "III",
                    'I', "ingotRefinedIron");
            RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);
            recipe = new ShapedOreRecipe(stack,
                    "I I",
                    "III",
                    "I I",
                    'I', "ingotRefinedIron");
            RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);
View Full Code Here

            if (RailcraftConfig.isItemEnabled(tag)) {
                item = itemSteelShovel = new ItemSteelShovel();
                ItemRegistry.registerItem(item);
                HarvestPlugin.setToolClass(item, "shovel", 2);

                IRecipe recipe = new ShapedOreRecipe(new ItemStack(item), false, new Object[]{
                    " I ",
                    " S ",
                    " S ",
                    'I', "ingotSteel",
                    'S', new ItemStack(Items.stick)
View Full Code Here

            if (RailcraftConfig.isItemEnabled(tag)) {
                item = itemSteelPickaxe = new ItemSteelPickaxe();
                ItemRegistry.registerItem(item);
                HarvestPlugin.setToolClass(item, "pickaxe", 2);

                IRecipe recipe = new ShapedOreRecipe(new ItemStack(item), false, new Object[]{
                    "III",
                    " S ",
                    " S ",
                    'I', "ingotSteel",
                    'S', new ItemStack(Items.stick)
View Full Code Here

            if (RailcraftConfig.isItemEnabled(tag)) {
                item = itemSteelHoe = new ItemSteelHoe();
                ItemRegistry.registerItem(item);

                IRecipe recipe = new ShapedOreRecipe(new ItemStack(item), true, new Object[]{
                    "II ",
                    " S ",
                    " S ",
                    'I', "ingotSteel",
                    'S', new ItemStack(Items.stick)
View Full Code Here

                "I I",
                "I I",
                "I I",
                'I', Items.iron_ingot);

        IRecipe recipe = new ShapedOreRecipe(item.getStack(6, EnumRail.STANDARD),
                "I I",
                "I I",
                "I I",
                'I', "ingotBronze");
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

        recipe = new ShapedOreRecipe(item.getStack(16, EnumRail.STANDARD),
                "I I",
                "I I",
                "I I",
                'I', "ingotSteel");
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

        // Advanced
        RailcraftCraftingManager.rollingMachine.addRecipe(item.getStack(8, EnumRail.ADVANCED),
                "IRG",
                "IRG",
                "IRG",
                'I', item.getRecipeObject(EnumRail.STANDARD),
                'R', new ItemStack(Items.redstone),
                'G', new ItemStack(Items.gold_ingot));

        // Wooden
        CraftingPlugin.addShapelessRecipe(item.getStack(6, EnumRail.WOOD), Items.iron_ingot, RailcraftItem.tie.getRecipeObject(EnumTie.WOOD));

        // Speed
        recipe = new ShapedOreRecipe(item.getStack(8, EnumRail.SPEED),
                "IBG",
                "IBG",
                "IBG",
                'I', "ingotSteel",
                'B', Items.blaze_powder,
                'G', Items.gold_ingot);
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

        // Reinforced
        recipe = new ShapedOreRecipe(item.getStack(8, EnumRail.REINFORCED),
                "IDI",
                "IDI",
                "IDI",
                'I', "ingotSteel",
                'D', "dustObsidian");
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);
       
        // Electric
        recipe = new ShapedOreRecipe(item.getStack(6, EnumRail.ELECTRIC),
                "ICI",
                "ICI",
                "ICI",
                'I', item.getRecipeObject(EnumRail.STANDARD),
                'C', "ingotCopper");
View Full Code Here

                "  I",
                " I ",
                "I  ",
                'I', new ItemStack(Items.iron_ingot));

        IRecipe recipe = new ShapedOreRecipe(new ItemStack(this, 4), true,
                "  I",
                " I ",
                "I  ",
                'I', "ingotBronze");
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

        recipe = new ShapedOreRecipe(new ItemStack(this, 6), true,
                "  I",
                " I ",
                "I  ",
                'I', "ingotRefinedIron");
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);

        recipe = new ShapedOreRecipe(new ItemStack(this, 8), true,
                "  I",
                " I ",
                "I  ",
                'I', "ingotSteel");
        RollingMachineCraftingManager.getInstance().getRecipeList().add(recipe);
View Full Code Here

TOP

Related Classes of net.minecraftforge.oredict.ShapedOreRecipe

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.