@Override
  protected void registerMachines() {
    if (!Loader.isModLoaded("GregTech_Addon") || !Loader.isModLoaded("IC2")) {
      return;
    }
    try {
      ItemStack generator = Items.getItem("generator");
      ItemStack compressor = Items.getItem("compressor");

      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',
                  "craftingRawMachineTier00",
                  'O',
                  "plateCopper",
                  'C',
                  "basicCircuit",
                }));
      }

      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',
                  "craftingRawMachineTier01",
                  'O',
                  "plateIron",
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier00",
                  'O',
                  "plateGold",
                  'C',
                  "basicCircuit"
                }));
      }

      if (Machine.Rancher.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 3),
                new Object[] {
                  "PTP",
                  "SFS",
                  "OCO",
                  'P',
                  "sheetPlastic",
                  'T',
                  "craftingPump",
                  'S',
                  Item.shears,
                  'F',
                  "craftingRawMachineTier01",
                  'O',
                  "plateTin",
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier01",
                  'O',
                  "plateSilver",
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier01",
                  'O',
                  "plateCopper",
                  'C',
                  "advancedCircuit"
                }));
      }

      if (Machine.ItemCollector.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 6),
                new Object[] {
                  "P P",
                  " F ",
                  "PCP",
                  'P',
                  "sheetPlastic",
                  'F',
                  "craftingRawMachineTier01",
                  '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',
                  "craftingItemValve",
                  'S',
                  Item.pickaxeIron,
                  'F',
                  "craftingRawMachineTier01",
                  'O',
                  "plateIron",
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier01",
                  'O',
                  "plateTin",
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier01",
                  'O',
                  "plateIron",
                  'C',
                  "advancedCircuit"
                }));
      }

      if (Machine.Sewer.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 10),
                new Object[] {
                  "PTP",
                  "SFS",
                  "SSS",
                  'P',
                  "sheetPlastic",
                  'T',
                  Item.bucketEmpty,
                  'S',
                  Item.brick,
                  'F',
                  "craftingRawMachineTier01",
                }));
      }

      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',
                  "craftingRawMachineTier01",
                  'O',
                  Item.brick,
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier01",
                  'O',
                  new ItemStack(Item.dyePowder, 1, 5),
                  'C',
                  "advancedCircuit"
                }));
      }

      if (Machine.Grinder.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 13),
                new Object[] {
                  "PTP",
                  "SFS",
                  "OCO",
                  'P',
                  "sheetPlastic",
                  'T',
                  "plateAlloyIridium",
                  'S',
                  "craftingGrinder",
                  'F',
                  "craftingRawMachineTier02",
                  'O',
                  Item.book,
                  'C',
                  "advancedCircuit"
                }));
      }

      if (Machine.AutoEnchanter.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 14),
                new Object[] {
                  "PTP",
                  "SFS",
                  "OCO",
                  'P',
                  "sheetPlastic",
                  'T',
                  "plateAlloyIridium",
                  'S',
                  Item.book,
                  'F',
                  "craftingRawMachineTier03",
                  'O',
                  "eliteCircuit",
                  'C',
                  Block.obsidian
                }));
      }

      if (Machine.Chronotyper.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 15),
                new Object[] {
                  "PTP",
                  "TFT",
                  "OCO",
                  'P',
                  "sheetPlastic",
                  'T',
                  "gemEmerald",
                  'F',
                  "craftingRawMachineTier02",
                  'O',
                  new ItemStack(Item.dyePowder, 1, 5),
                  'C',
                  "eliteCircuit"
                }));
      }

      if (Machine.Ejector.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 0),
                new Object[] {
                  "PTP",
                  " F ",
                  "OOO",
                  'P',
                  "sheetPlastic",
                  'T',
                  "craftingPump",
                  'F',
                  "craftingRawMachineTier00",
                  'O',
                  "dustRedstone"
                }));
      }

      if (Machine.ItemRouter.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 1),
                new Object[] {
                  "PTP",
                  "SFS",
                  "PSP",
                  'P',
                  "sheetPlastic",
                  'T',
                  Block.chest,
                  'S',
                  Item.redstoneRepeater,
                  'F',
                  "craftingRawMachineTier01"
                }));
      }

      if (Machine.LiquidRouter.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 2),
                new Object[] {
                  "PTP",
                  "SFS",
                  "PSP",
                  'P',
                  "sheetPlastic",
                  'T',
                  "craftingPump",
                  'S',
                  Item.redstoneRepeater,
                  'F',
                  "craftingRawMachineTier01"
                }));
      }

      if (Machine.DeepStorageUnit.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 3),
                new Object[] {
                  "PEP",
                  "CFC",
                  "PEP",
                  'P',
                  "sheetPlastic",
                  'C',
                  "eliteCircuit",
                  'E',
                  Item.eyeOfEnder,
                  'F',
                  "craftingRawMachineTier03"
                }));

        if (MineFactoryReloadedCore.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',
                    "craftingRawMachineTier01"
                  }));
        }
      }

      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',
                  "craftingPump",
                  'F',
                  "craftingRawMachineTier01",
                  'O',
                  Item.book,
                  'C',
                  "craftingLiquidMeter"
                }));
      }

      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',
                  "craftingRawMachineTier02",
                  'O',
                  Item.blazeRod,
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier02",
                  'O',
                  Block.obsidian,
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier01"
                }));
      }

      if (Machine.Unifier.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 8),
                new Object[] {
                  "PTP",
                  "SFS",
                  "OCO",
                  'P',
                  "sheetPlastic",
                  'T',
                  "plateCopper",
                  'S',
                  "plateSilver",
                  'F',
                  "craftingRawMachineTier01",
                  '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',
                  "plateAlloyIridium",
                  'S',
                  Item.magmaCream,
                  'F',
                  "craftingRawMachineTier02",
                  'O',
                  Item.emerald,
                  'C',
                  "advancedCircuit"
                }));
      }

      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',
                  "craftingRawMachineTier02",
                  'O',
                  "craftingItemValve",
                  'C',
                  "craftingPump"
                }));
      }

      if (Machine.BioFuelGenerator.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 11),
                new Object[] {
                  "PCP",
                  "SFS",
                  "OCO",
                  'P',
                  "sheetPlastic",
                  'S',
                  "plateIron",
                  'F',
                  generator,
                  'O',
                  Item.blazeRod,
                  'C',
                  "advancedCircuit"
                }));
      }

      if (Machine.AutoDisenchanter.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 12),
                new Object[] {
                  "PTP",
                  "SFS",
                  "OCO",
                  'P',
                  "sheetPlastic",
                  'T',
                  "plateAlloyIridium",
                  'S',
                  Item.book,
                  'F',
                  "craftingRawMachineTier03",
                  'O',
                  "eliteCircuit",
                  'C',
                  Block.netherBrick
                }));
      }

      if (Machine.Slaughterhouse.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 13),
                new Object[] {
                  "GIG",
                  "SFS",
                  "XCX",
                  'G',
                  "sheetPlastic",
                  'S',
                  "craftingPump",
                  'X',
                  "craftingGrinder",
                  'I',
                  "craftingDiamond",
                  'F',
                  "craftingRawMachineTier02",
                  'C',
                  "advancedCircuit"
                }));
      }

      if (Machine.MeatPacker.getIsRecipeEnabled()) {
        GameRegistry.addRecipe(
            new ShapedOreRecipe(
                new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 14),
                new Object[] {
                  "GSG",
                  "BFB",
                  "TCT",
                  'G',
                  "sheetPlastic",
                  'B',
                  "craftingHeatingCoilTier01",
                  'S',
                  "craftingPump",
                  'F',
                  compressor,
                  'C',
                  "craftingMachineParts",
                  'T',
                  "craftingPump"
                }));
      }
    } catch (Exception x) {
      x.printStackTrace();
    }
  }
예제 #2
0
  private static void registerMachines() {
    System.out.println("EMYDEBUG vanilla recipes loading!");
    GameRegistry.addRecipe(
        new ItemStack(MineFactoryReloadedCore.machineBaseItem, 3),
        new Object[] {
          "PPP",
          "SSS",
          Character.valueOf('P'),
          MineFactoryReloadedCore.plasticSheetItem,
          Character.valueOf('S'),
          Block.stone,
        });

    if (Machine.Planter.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 0),
          new Object[] {
            "GGG",
            "CPC",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('P'),
            Block.pistonBase,
            Character.valueOf('C'),
            Item.flowerPot,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Fisher.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 1),
          new Object[] {
            "GGG",
            "RRR",
            "BMB",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('R'),
            Item.fishingRod,
            Character.valueOf('B'),
            Item.bucketEmpty,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Harvester.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 2),
          new Object[] {
            "GGG",
            "SXS",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('X'),
            Item.axeGold,
            Character.valueOf('S'),
            Item.shears,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Rancher.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 3),
          new Object[] {
            "GGG",
            "SBS",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('B'),
            Item.bucketEmpty,
            Character.valueOf('S'),
            Item.shears,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Fertilizer.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 4),
          new Object[] {
            "GGG",
            "LBL",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('L'),
            Item.leather,
            Character.valueOf('B'),
            Item.glassBottle,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Vet.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 5),
          new Object[] {
            "GGG",
            "SSS",
            "EME",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('E'),
            Item.spiderEye,
            Character.valueOf('S'),
            MineFactoryReloadedCore.syringeEmptyItem,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.ItemCollector.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 8, 6),
          new Object[] {
            "GGG",
            " C ",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('C'),
            Block.chest,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.BlockBreaker.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 7),
          new Object[] {
            "GGG",
            "PHS",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('P'),
            Item.pickaxeGold,
            Character.valueOf('H'),
            MineFactoryReloadedCore.factoryHammerItem,
            Character.valueOf('S'),
            Item.shovelGold,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.WeatherCollector.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 8),
          new Object[] {
            "GGG",
            "BBB",
            "UMU",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('B'),
            Block.fenceIron,
            Character.valueOf('U'),
            Item.bucketEmpty,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.SludgeBoiler.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 9),
          new Object[] {
            "GGG",
            "FFF",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('F'),
            Block.furnaceIdle,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Sewer.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 4, 10),
          new Object[] {
            "GGG",
            "BUB",
            "BMB",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('B'),
            Item.brick,
            Character.valueOf('U'),
            Item.bucketEmpty,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Composter.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 11),
          new Object[] {
            "GGG",
            "PFP",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('P'),
            Block.pistonBase,
            Character.valueOf('F'),
            Block.furnaceIdle,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Breeder.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 12),
          new Object[] {
            "GGG",
            "CAC",
            "PMP",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('P'),
            new ItemStack(Item.dyePowder, 1, 5),
            Character.valueOf('C'),
            Item.goldenCarrot,
            Character.valueOf('A'),
            Item.appleGold,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Grinder.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 13),
          new Object[] {
            "GGG",
            "BSP",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('P'),
            Block.pistonBase,
            Character.valueOf('B'),
            Item.book,
            Character.valueOf('S'),
            Item.swordGold,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.AutoEnchanter.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 14),
          new Object[] {
            "GGG",
            "BBB",
            "DMD",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('B'),
            Item.book,
            Character.valueOf('D'),
            Item.diamond,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Chronotyper.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 15),
          new Object[] {
            "GGG",
            "EEE",
            "PMP",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('E'),
            Item.emerald,
            Character.valueOf('P'),
            new ItemStack(Item.dyePowder, 1, 5),
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Ejector.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 0),
          new Object[] {
            "GGG",
            " D ",
            "RMR",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('D'),
            Block.dispenser,
            Character.valueOf('R'),
            Item.redstone,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.ItemRouter.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 1),
          new Object[] {
            "GGG",
            "RCR",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('C'),
            Block.chest,
            Character.valueOf('R'),
            Item.redstoneRepeater,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.LiquidRouter.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 2),
          new Object[] {
            "GGG",
            "RBR",
            "BMB",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('B'),
            Item.bucketEmpty,
            Character.valueOf('R'),
            Item.redstoneRepeater,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.DeepStorageUnit.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 4, 3),
          new Object[] {
            "GGG",
            "PPP",
            "EME",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('P'),
            Item.enderPearl,
            Character.valueOf('E'),
            Item.eyeOfEnder,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });

      if (MineFactoryReloadedCore.enableCheapDSU.getBoolean(false)) {
        GameRegistry.addRecipe(
            new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 3),
            new Object[] {
              "GGG",
              "CCC",
              "CMC",
              Character.valueOf('G'),
              MineFactoryReloadedCore.plasticSheetItem,
              Character.valueOf('C'),
              Block.chest,
              Character.valueOf('M'),
              MineFactoryReloadedCore.machineBaseItem,
            });
      }
    }

    if (Machine.LiquiCrafter.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 4),
          new Object[] {
            "GGG",
            "BWB",
            "FMF",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('B'),
            Item.bucketEmpty,
            Character.valueOf('W'),
            Block.workbench,
            Character.valueOf('F'),
            Item.itemFrame,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.LavaFabricator.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 5),
          new Object[] {
            "GGG",
            "OBO",
            "CMC",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('O'),
            Block.obsidian,
            Character.valueOf('B'),
            Item.blazeRod,
            Character.valueOf('C'),
            Item.magmaCream,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.OilFabricator.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 6),
          new Object[] {
            "GGG",
            "OTO",
            "OMO",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('O'),
            Block.obsidian,
            Character.valueOf('T'),
            Block.tnt,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.AutoJukebox.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 7),
          new Object[] {
            "GGG",
            " J ",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('J'),
            Block.jukebox,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.Unifier.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 8),
          new Object[] {
            "GGG",
            "PBP",
            " M ",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('B'),
            Item.book,
            Character.valueOf('P'),
            Block.pumpkin,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.AutoSpawner.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 9),
          new Object[] {
            "GGG",
            "ECE",
            "NMS",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('E'),
            Item.emerald,
            Character.valueOf('C'),
            Item.magmaCream,
            Character.valueOf('N'),
            Item.netherStalkSeeds,
            Character.valueOf('S'),
            Item.sugar,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.BioReactor.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 10),
          new Object[] {
            "GGG",
            "UEU",
            "SMS",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('U'),
            Item.sugar,
            Character.valueOf('E'),
            Item.fermentedSpiderEye,
            Character.valueOf('S'),
            Item.slimeBall,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }

    if (Machine.BioFuelGenerator.getIsRecipeEnabled()) {
      GameRegistry.addRecipe(
          new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 11),
          new Object[] {
            "GGG",
            "PFP",
            "RMR",
            Character.valueOf('G'),
            MineFactoryReloadedCore.plasticSheetItem,
            Character.valueOf('F'),
            Block.furnaceIdle,
            Character.valueOf('P'),
            Block.pistonBase,
            Character.valueOf('R'),
            Item.blazeRod,
            Character.valueOf('M'),
            MineFactoryReloadedCore.machineBaseItem,
          });
    }
  }