Examples of ShapedOreRecipe


Examples of net.minecraftforge.oredict.ShapedOreRecipe

    {
      return;
    }
    _registeredMiscItems = true;
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.plasticSheetItem, 4), new Object[]
        {
      "##",
      "##",
      '#', "dustPlastic",
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.fertilizerItem, 16), new Object[]
        {
      "WBW",
      "STS",
      "WBW",
      'W', Item.wheat,
      'B', new ItemStack(Item.dyePowder, 1, 15),
      'S', Item.silk,
      'T', "stickWood",
        } ));
   
    GameRegistry.addRecipe(new ItemStack(MineFactoryReloadedCore.safariNetItem, 1), new Object[]
        {
      " E ",
      "EGE",
      " E ",
      'E', Item.enderPearl,
      'G', Item.ghastTear,
        } );
   
    GameRegistry.addRecipe(new ItemStack(MineFactoryReloadedCore.safariNetSingleItem, 1), new Object[]
        {
      "SLS",
      " B ",
      "S S",
      'S', Item.silk,
      'L', Item.leather,
      'B', Item.slimeBall,
        } );
   
    GameRegistry.addRecipe(new ItemStack(MineFactoryReloadedCore.safariNetJailerItem, 1), new Object[]
        {
      " I ",
      "ISI",
      " I ",
      'S', MineFactoryReloadedCore.safariNetSingleItem,
      'I', Block.fenceIron
        } );
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.safariNetLauncherItem, 1), new Object[]
        {
      "PGP",
      "LGL",
      "IRI",
      'P', "sheetPlastic",
      'L', Item.lightStoneDust,
      'G', Item.gunpowder,
      'I', Item.ingotIron,
      'R', Item.redstone,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.factoryHammerItem, 1), new Object[]
        {
      "PPP",
      " S ",
      " S ",
      'P', "sheetPlastic",
      'S', "stickWood",
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.blankRecordItem, 1), new Object[]
        {
      "RRR",
      "RPR",
      "RRR",
      'R', "dustPlastic",
      'P', Item.paper,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.spyglassItem), new Object[]
        {
      "GLG",
      "PLP",
      " S ",
      'G', Item.ingotGold,
      'L', Block.glass,
      'P', "sheetPlastic",
      'S', "stickWood",
        } ));
   
    GameRegistry.addRecipe(new ItemStack(MineFactoryReloadedCore.portaSpawnerItem), new Object[]
        {
      "GLG",
      "DND",
      "GLG",
      'G', Item.ingotGold,
      'L', Block.glass,
      'D', Item.diamond,
      'N', Item.netherStar
        } );
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.strawItem), new Object[]
        {
      "PP",
      "P ",
      "P ",
      'P', "sheetPlastic",
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.xpExtractorItem), new Object[]
        {
      "PLP",
      "PLP",
      "RPR",
      'R', "itemRubber",
      'L', Block.glass,
      'P', "sheetPlastic",
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.rulerItem), new Object[]
        {
      "P",
      "A",
      "P",
      'P', "sheetPlastic",
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

    FurnaceRecipes.smelting().addSmelting(MineFactoryReloadedCore.rawRubberItem.itemID, 0, new ItemStack(MineFactoryReloadedCore.rubberBarItem), 0.1F);
    FurnaceRecipes.smelting().addSmelting(MineFactoryReloadedCore.rubberWoodBlock.blockID, 0, new ItemStack(Item.coal, 1, 1), 0.1F);
   
    GameRegistry.addShapelessRecipe(new ItemStack(Block.planks, 3, 3), new ItemStack(MineFactoryReloadedCore.rubberWoodBlock));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Block.torchWood, 4), new Object[]
        {
      "R",
      "S",
      'R', MineFactoryReloadedCore.rawRubberItem,
      'S', "stickWood",
        } ));
   
    GameRegistry.addRecipe(new ItemStack(Block.pistonStickyBase), new Object[]
        {
      "R",
      "P",
      'R', MineFactoryReloadedCore.rawRubberItem,
      'P', Block.pistonBase
        } );
   
    if(MFRConfig.vanillaOverrideIce.getBoolean(true))
    {
      GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Block.ice, 1, 1), new ItemStack(Block.ice, 1, 0), "dustPlastic"));
    }
   
    if(MFRConfig.enableMossyCobbleRecipe.getBoolean(true))
    {
      GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestoneMossy), new Object[]
          {
        Block.cobblestone,
        Item.bucketWater,
        Item.wheat
          } );
    }
   
    GameRegistry.addShapelessRecipe(new ItemStack(MineFactoryReloadedCore.milkBottleItem), new Object[]
        {
      Item.bucketMilk,
      Item.glassBottle
        } );
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Block.torchWood, 1), new Object[]
        {
      "C",
      "S",
      'C', MineFactoryReloadedCore.sugarCharcoalItem,
      'S', "stickWood",
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

    {
      return;
    }
    _registeredRails = true;
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.railPickupCargoBlock, 2), new Object[]
        {
      " C ",
      "SDS",
      "SSS",
      'C', Block.chest,
      'S', "sheetPlastic",
      'D', Block.railDetector
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.railDropoffCargoBlock, 2), new Object[]
        {
      "SSS",
      "SDS",
      " C ",
      'C', Block.chest,
      'S', "sheetPlastic",
      'D', Block.railDetector
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.railPickupPassengerBlock, 3), new Object[]
        {
      " L ",
      "SDS",
      "SSS",
      'L', Block.blockLapis,
      'S', "sheetPlastic",
      'D', Block.railDetector
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.railDropoffPassengerBlock, 3), new Object[]
        {
      "SSS",
      "SDS",
      " L ",
      'L', Block.blockLapis,
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

    {
      return;
    }
    _registeredGuns = true;
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.needlegunItem), new Object[]
        {
          "PIP",
          "PIP",
          "SLS",
          'P', "sheetPlastic",
          'I', Item.ingotIron,
          'S', Item.slimeBall,
          'L', MineFactoryReloadedCore.safariNetLauncherItem
        }));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.needlegunAmmoEmptyItem, 4), new Object[]
        {
          "P P",
          "PIP",
          "PPP",
          'P', "sheetPlastic",
          'I', Item.ingotIron,
        }));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.needlegunAmmoStandardItem), new Object[]
        {
          "AAA",
          "AMA",
          "AAA",
          'A', Item.arrow,
          'M', MineFactoryReloadedCore.needlegunAmmoEmptyItem,
        }));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.needlegunAmmoAnvilItem), new Object[]
        {
          "SMS",
          "SAS",
          "SSS",
          'A', new ItemStack(Block.anvil, 1, 0),
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

    {
      return;
    }
    _registeredRedNet = true;
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.rednetCableBlock, 8), new Object[]
        {
      "PPP",
      "RRR",
      "PPP",
      'R', Item.redstone,
      'P', "sheetPlastic",
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.factoryDecorativeBrickBlock, 1, 11), new Object[]
        {
      "PRP",
      "RGR",
      "PIP",
      'R', Item.redstone,
      'P', "sheetPlastic",
      'G', Block.glass,
      'I', Item.ingotIron,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.rednetLogicBlock), new Object[]
        {
      "RDR",
      "LGL",
      "PHP",
      'H', new ItemStack(MineFactoryReloadedCore.factoryDecorativeBrickBlock, 1, 11),
      'P', "sheetPlastic",
      'G', Item.ingotGold,
      'L', new ItemStack(Item.dyePowder, 1, 4),
      'D', Item.diamond,
      'R', Item.redstone,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.logicCardItem, 1, 0), new Object[]
        {
      "RPR",
      "PGP",
      "RPR",
      'P', "sheetPlastic",
      'G', Item.ingotGold,
      'R', Item.redstone,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.logicCardItem, 1, 1), new Object[]
        {
      "GPG",
      "PCP",
      "RGR",
      'C', new ItemStack(MineFactoryReloadedCore.logicCardItem, 1, 0),
      'P', "sheetPlastic",
      'G', Item.ingotGold,
      'R', Item.redstone,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.logicCardItem, 1, 2), new Object[]
        {
      "DPD",
      "RCR",
      "GDG",
      'C', new ItemStack(MineFactoryReloadedCore.logicCardItem, 1, 1),
      'P', "sheetPlastic",
      'G', Item.ingotGold,
      'D', Item.diamond,
      'R', Item.redstone,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.rednetMeterItem, 1, 0), new Object[]
        {
      " G",
      "PR",
      "PP",
      'P', "sheetPlastic",
      'G', Item.goldNugget,
      'R', Item.redstone,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.rednetMemoryCardItem, 1, 0), new Object[]
        {
      "GGG",
      "PRP",
      "PPP",
      'P', "sheetPlastic",
      'G', Item.goldNugget,
      'R', Item.redstone,
        } ));
   
    GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.rednetPanelBlock, 1, 0), new Object[]
        {
      "PCP",
      "PBP",
      "KPK",
      'P', "sheetPlastic",
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

      ItemStack powerCoilSilver = ItemRegistry.getItem("powerCoilSilver", 1);
      ItemStack tesseractFrameFull = ItemRegistry.getItem("tesseractFrameFull", 1);
     
      if(Machine.Planter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 0), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.flowerPot,
          'S', Block.pistonBase,
          'F', machineFrame,
          'O', "ingotCopper",
          'C', powerCoilGold,
            } ));
      }
     
      if(Machine.Fisher.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 1), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.fishingRod,
          'S', Item.bucketEmpty,
          'F', machineFrame,
          'O', "ingotIron",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Harvester.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 2), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.axeIron,
          'S', Item.shears,
          'F', machineFrame,
          'O', "ingotGold",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Rancher.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 3), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', conduitLiquid,
          'S', Item.shears,
          'F', machineFrame,
          'O', "ingotTin",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Fertilizer.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 4), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.glassBottle,
          'S', Item.leather,
          'F', machineFrame,
          'O', "ingotSilver",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Vet.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 5), new Object[]
            {
          "PTP",
          "TFT",
          "OCO",
          'P', "sheetPlastic",
          'T', MineFactoryReloadedCore.syringeEmptyItem,
          'F', machineFrame,
          'O', "ingotCopper",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.ItemCollector.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 8, 6), new Object[]
            {
          "P P",
          " F ",
          "PCP",
          'P', "sheetPlastic",
          'F', machineFrame,
          'C', Block.chest
            } ));
      }
     
      if(Machine.BlockBreaker.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 7), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', "gearInvar",
          'S', Item.pickaxeIron,
          'F', machineFrame,
          'O', "ingotIron",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.WeatherCollector.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 8), new Object[]
            {
          "PTP",
          " F ",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.bucketEmpty,
          'F', machineFrame,
          'O', "ingotTin",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.SludgeBoiler.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 9), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.bucketEmpty,
          'S', Block.furnaceIdle,
          'F', machineFrame,
          'O', "ingotIron",
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Sewer.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 4, 10), new Object[]
            {
          "PTP",
          "SFS",
          "SSS",
          'P', "sheetPlastic",
          'T', Item.bucketEmpty,
          'S', Item.brick,
          'F', machineFrame,
            } ));
      }
     
      if(Machine.Composter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 11), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Block.furnaceIdle,
          'S', Block.pistonBase,
          'F', machineFrame,
          'O', Item.brick,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Breeder.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 12), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.appleGold,
          'S', Item.goldenCarrot,
          'F', machineFrame,
          'O', new ItemStack(Item.dyePowder, 1, 5),
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Grinder.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 13), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.swordGold,
          'S', "gearTin",
          'F', machineFrame,
          'O', Item.book,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.AutoEnchanter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 14), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Block.obsidian,
          'S', Item.book,
          'F', machineFrame,
          'O', Item.diamond,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Chronotyper.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 15), new Object[]
            {
          "PTP",
          "TFT",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.emerald,
          'F', machineFrame,
          'O', new ItemStack(Item.dyePowder, 1, 5),
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Ejector.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 0), new Object[]
            {             
          "PTP",
          " F ",
          "OOO",
          'P', "sheetPlastic",
          'T', pneumaticServo,
          'F', machineFrame,
          'O', Item.redstone
            } ));
      }
     
      if(Machine.ItemRouter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 1), new Object[]
            {         
          "PTP",
          "SFS",
          "PSP",
          'P', "sheetPlastic",
          'T', Block.chest,
          'S', Item.redstoneRepeater,
          'F', machineFrame
            } ));
      }
     
      if(Machine.LiquidRouter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 2), new Object[]
            {         
          "PTP",
          "SFS",
          "PSP",
          'P', "sheetPlastic",
          'T', conduitLiquid,
          'S', Item.redstoneRepeater,
          'F', machineFrame
            } ));
      }
     
      if(Machine.DeepStorageUnit.getIsRecipeEnabled())
      {
        int dsuCount = MFRConfig.craftSingleDSU.getBoolean(false) ? 1 : 4;
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), dsuCount, 3), new Object[]
            {         
          "PCP",
          "CFC",
          "PCP",
          'P', "sheetPlastic",
          'C', Block.chest,
          'F', tesseractFrameFull
            } ));
       
        if(MFRConfig.enableCheapDSU.getBoolean(false))
        {
          GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 3), new Object[]
              {         
            "PCP",
            "CFC",
            "PCP",
            'P', "sheetPlastic",
            'C', Block.chest,
            'F', machineFrame
              } ));
        }
      }
     
      if(Machine.LiquiCrafter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 4), new Object[]
            {           
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Block.workbench,
          'S', conduitLiquid,
          'F', machineFrame,
          'O', Item.book,
          'C', pneumaticServo
            } ));
      }
     
      if(Machine.LavaFabricator.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 5), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Block.obsidian,
          'S', Item.magmaCream,
          'F', machineFrame,
          'O', Item.blazeRod,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.OilFabricator.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 6), new Object[]
            {
          "PTP",
          "OFO",
          "OCO",
          'P', "sheetPlastic",
          'T', Block.tnt,
          'F', machineFrame,
          'O', Block.obsidian,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.AutoJukebox.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 7), new Object[]
            {
          "PJP",
          " F ",
          " P ",
          'P', "sheetPlastic",
          'J', Block.jukebox,
          'F', machineFrame
            } ));
      }
     
      if(Machine.Unifier.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 8), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', "ingotCopper",
          'S', "ingotSilver",
          'F', machineFrame,
          'O', Item.comparator,
          'C', Item.book
            } ));
      }
     
      if(Machine.AutoSpawner.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 9), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.netherStalkSeeds,
          'S', Item.magmaCream,
          'F', machineFrame,
          'O', Item.emerald,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.BioReactor.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 10), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Item.fermentedSpiderEye,
          'S', Item.slimeBall,
          'F', machineFrame,
          'O', Item.brick,
          'C', Item.sugar
            } ));
      }
     
      if(Machine.BioFuelGenerator.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 11), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Block.furnaceIdle,
          'S', Block.pistonBase,
          'F', machineFrame,
          'O', Item.blazeRod,
          'C', powerCoilSilver
            } ));
      }
     
      if(Machine.AutoDisenchanter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 12), new Object[]
            {
          "PTP",
          "SFS",
          "OCO",
          'P', "sheetPlastic",
          'T', Block.netherBrick,
          'S', Item.book,
          'F', machineFrame,
          'O', Item.diamond,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.Slaughterhouse.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 13), new Object[]
            {
          "GIG",
          "SFS",
          "XCX",
          'G', "sheetPlastic",
          'S', Item.swordGold,
          'X', Item.axeGold,
          'I', "gearInvar",
          'F', machineFrame,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.MeatPacker.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 14), new Object[]
            {
          "GSG",
          "BFB",
          "BCB",
          'G', "sheetPlastic",
          'B', Block.brick,
          'S', Item.flintAndSteel,
          'F', machineFrame,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.EnchantmentRouter.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 15), new Object[]
            {         
          "PBP",
          "SFS",
          "PSP",
          'P', "sheetPlastic",
          'B', Item.book,
          'S', Item.redstoneRepeater,
          'F', machineFrame
            } ));
      }
     
      if(Machine.LaserDrill.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 0), new Object[]
            {
          "GFG",
          "CFC",
          "DHD",
          'G', "sheetPlastic",
          'D', Item.diamond,
          'H', hardenedGlass,
          'F', lamp,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.LaserDrillPrecharger.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 1), new Object[]
            {
          "GSG",
          "HFH",
          "DCD",
          'G', "sheetPlastic",
          'D', Item.diamond,
          'S', MineFactoryReloadedCore.pinkSlimeballItem,
          'H', hardenedGlass,
          'F', lamp,
          'C', powerCoilElectrum
            } ));
      }
     
      if(Machine.AutoAnvil.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 2), new Object[]
            {
          "GAG",
          "AFA",
          " C ",
          'G', "sheetPlastic",
          'A', Block.anvil,
          'F', machineFrame,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.BlockSmasher.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 3), new Object[]
            {
          "GPG",
          "HFH",
          "BCB",
          'G', "sheetPlastic",
          'P', Block.pistonBase,
          'H', MineFactoryReloadedCore.factoryHammerItem,
          'B', Item.book,
          'F', machineFrame,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.RedNote.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 4), new Object[]
            {
          "GNG",
          "CFC",
          'G', "sheetPlastic",
          'C', MineFactoryReloadedCore.rednetCableBlock,
          'N', Block.music,
          'F', machineFrame
            } ));
      }
     
      if(Machine.AutoBrewer.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 5), new Object[]
            {
          "GBG",
          "CFC",
          "RCR",
          'G', "sheetPlastic",
          'C', conduitLiquid,
          'B', Item.brewingStand,
          'R', Item.redstoneRepeater,
          'F', machineFrame,
          'C', powerCoilGold
            } ));
      }
     
      if(Machine.FruitPicker.getIsRecipeEnabled())
      {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 6), new Object[]
            {
          "GXG",
          "SFS",
          "SCS",
          'G', "sheetPlastic",
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

    }
    return null;
  }

  private static void addOreDictRecipe(ItemStack output, Object... recipe) {
    CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(output, recipe));
  }
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

      for(int y = 0; y < shaped.recipeHeight; y++)
        for(int x = 0; x < shaped.recipeWidth; x++)
          renderItemAtGridPos(gui, 1 + x, 1 + y, shaped.recipeItems[y * shaped.recipeWidth + x], true);
    } else if(recipe instanceof ShapedOreRecipe) {
      ShapedOreRecipe shaped = (ShapedOreRecipe) recipe;
      int width = (Integer) ReflectionHelper.getPrivateValue(ShapedOreRecipe.class, shaped, 4);
      int height = (Integer) ReflectionHelper.getPrivateValue(ShapedOreRecipe.class, shaped, 5);

      for(int y = 0; y < height; y++)
        for(int x = 0; x < width; x++) {
          Object input = shaped.getInput()[y * width + x];
          if(input != null)
            renderItemAtGridPos(gui, 1 + x, 1 + y, input instanceof ItemStack ? (ItemStack) input : ((ArrayList<ItemStack>) input).get(0), true);
        }

      oreDictRecipe = true;
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

        // backpacks and big backpacks from black(0) to white(15)
        for(int i = 1; i < 17; i++) {
            if(!ConfigurationBackpack.DISABLE_BACKPACKS) {
                // backpacks
                backpackStack = new ItemStack(ItemsBackpack.backpack, 1, i);
                GameRegistry.addRecipe(new ShapedOreRecipe(backpackStack, "LLL", "LDL", "LLL", 'L', Items.leather, 'D', dyes[i - 1]));
            }

            if(!ConfigurationBackpack.DISABLE_BIG_BACKPACKS && !ConfigurationBackpack.BIG_BY_UPGRADE_ONLY) {
                // big backpacks
                backpackStack = new ItemStack(ItemsBackpack.backpack, 1, 200 + i);
                GameRegistry.addRecipe(new ShapedOreRecipe(backpackStack, "LLL", "LDL", "LLL", 'L', ItemsBackpack.tannedLeather, 'D', dyes[i - 1]));
            }
        }

        if(!ConfigurationBackpack.DISABLE_ENDER_BACKPACKS) {
            // ender Backpack
View Full Code Here

Examples of net.minecraftforge.oredict.ShapedOreRecipe

   * @param output the ItemStack produced by this recipe
   * @param params the items/blocks/itemstacks required to create the output ItemStack
   */
  public static void addRecipe(ItemStack output, Object[] params)
  {
    CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(output, params));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.