{
return;
}
_registeredMachines = true;
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBaseItem, 3), new Object[]
{
"PPP",
"SSS",
'P', "sheetPlastic",
'S', Block.stone,
} ));
if(Machine.Planter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 0), new Object[]
{
"GGG",
"CPC",
" M ",
'G', "sheetPlastic",
'P', Block.pistonBase,
'C', Item.flowerPot,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Fisher.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 1), new Object[]
{
"GGG",
"RRR",
"BMB",
'G', "sheetPlastic",
'R', Item.fishingRod,
'B', Item.bucketEmpty,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Harvester.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 2), new Object[]
{
"GGG",
"SXS",
" M ",
'G', "sheetPlastic",
'X', Item.axeGold,
'S', Item.shears,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Rancher.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 3), new Object[]
{
"GGG",
"SBS",
" M ",
'G', "sheetPlastic",
'B', Item.bucketEmpty,
'S', Item.shears,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Fertilizer.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 4), new Object[]
{
"GGG",
"LBL",
" M ",
'G', "sheetPlastic",
'L', Item.leather,
'B', Item.glassBottle,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Vet.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 5), new Object[]
{
"GGG",
"SSS",
"EME",
'G', "sheetPlastic",
'E', Item.spiderEye,
'S', MineFactoryReloadedCore.syringeEmptyItem,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.ItemCollector.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 8, 6), new Object[]
{
"GGG",
" C ",
" M ",
'G', "sheetPlastic",
'C', Block.chest,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.BlockBreaker.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 7), new Object[]
{
"GGG",
"PHS",
" M ",
'G', "sheetPlastic",
'P', Item.pickaxeGold,
'H', MineFactoryReloadedCore.factoryHammerItem,
'S', Item.shovelGold,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.WeatherCollector.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 8), new Object[]
{
"GGG",
"BBB",
"UMU",
'G', "sheetPlastic",
'B', Block.fenceIron,
'U', Item.bucketEmpty,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.SludgeBoiler.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 9), new Object[]
{
"GGG",
"FFF",
" M ",
'G', "sheetPlastic",
'F', Block.furnaceIdle,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Sewer.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 4, 10), new Object[]
{
"GGG",
"BUB",
"BMB",
'G', "sheetPlastic",
'B', Item.brick,
'U', Item.bucketEmpty,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Composter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 11), new Object[]
{
"GGG",
"PFP",
" M ",
'G', "sheetPlastic",
'P', Block.pistonBase,
'F', Block.furnaceIdle,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Breeder.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 12), new Object[]
{
"GGG",
"CAC",
"PMP",
'G', "sheetPlastic",
'P', new ItemStack(Item.dyePowder, 1, 5),
'C', Item.goldenCarrot,
'A', Item.appleGold,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Grinder.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 13), new Object[]
{
"GGG",
"BSP",
" M ",
'G', "sheetPlastic",
'P', Block.pistonBase,
'B', Item.book,
'S', Item.swordGold,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.AutoEnchanter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 14), new Object[]
{
"GGG",
"BBB",
"DMD",
'G', "sheetPlastic",
'B', Item.book,
'D', Item.diamond,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Chronotyper.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(0), 1, 15), new Object[]
{
"GGG",
"EEE",
"PMP",
'G', "sheetPlastic",
'E', Item.emerald,
'P', new ItemStack(Item.dyePowder, 1, 5),
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Ejector.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 0), new Object[]
{
"GGG",
" D ",
"RMR",
'G', "sheetPlastic",
'D', Block.dispenser,
'R', Item.redstone,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.ItemRouter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 1), new Object[]
{
"GGG",
"RCR",
" M ",
'G', "sheetPlastic",
'C', Block.chest,
'R', Item.redstoneRepeater,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.LiquidRouter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 8, 2), new Object[]
{
"GGG",
"RBR",
"BMB",
'G', "sheetPlastic",
'B', Item.bucketEmpty,
'R', Item.redstoneRepeater,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
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[]
{
"GGG",
"PPP",
"EME",
'G', "sheetPlastic",
'P', Item.enderPearl,
'E', Item.eyeOfEnder,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
if(MFRConfig.enableCheapDSU.getBoolean(false))
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 3), new Object[]
{
"GGG",
"CCC",
"CMC",
'G', "sheetPlastic",
'C', Block.chest,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
}
if(Machine.LiquiCrafter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 4), new Object[]
{
"GGG",
"BWB",
"FMF",
'G', "sheetPlastic",
'B', Item.bucketEmpty,
'W', Block.workbench,
'F', Item.itemFrame,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.LavaFabricator.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 5), new Object[]
{
"GGG",
"OBO",
"CMC",
'G', "sheetPlastic",
'O', Block.obsidian,
'B', Item.blazeRod,
'C', Item.magmaCream,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.OilFabricator.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 6), new Object[]
{
"GGG",
"OTO",
"OMO",
'G', "sheetPlastic",
'O', Block.obsidian,
'T', Block.tnt,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.AutoJukebox.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 7), new Object[]
{
"GGG",
" J ",
" M ",
'G', "sheetPlastic",
'J', Block.jukebox,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Unifier.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 8), new Object[]
{
"GGG",
"CBC",
" M ",
'G', "sheetPlastic",
'B', Item.book,
'C', Item.comparator,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.AutoSpawner.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 9), new Object[]
{
"GGG",
"ECE",
"NMS",
'G', "sheetPlastic",
'E', Item.emerald,
'C', Item.magmaCream,
'N', Item.netherStalkSeeds,
'S', Item.sugar,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.BioReactor.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 10), new Object[]
{
"GGG",
"UEU",
"SMS",
'G', "sheetPlastic",
'U', Item.sugar,
'E', Item.fermentedSpiderEye,
'S', Item.slimeBall,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.BioFuelGenerator.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 11), new Object[]
{
"GGG",
"PFP",
"RMR",
'G', "sheetPlastic",
'F', Block.furnaceIdle,
'P', Block.pistonBase,
'R', Item.blazeRod,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.AutoDisenchanter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 12), new Object[]
{
"GGG",
"RDR",
"BMB",
'G', "sheetPlastic",
'B', Item.book,
'D', Item.diamond,
'R', Block.netherBrick,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.Slaughterhouse.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 13), new Object[]
{
"GGG",
"SSS",
"XMX",
'G', "sheetPlastic",
'S', Item.swordGold,
'X', Item.axeGold,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.MeatPacker.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 14), new Object[]
{
"GGG",
"BFB",
"BMB",
'G', "sheetPlastic",
'B', Block.brick,
'F', Item.flintAndSteel,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.EnchantmentRouter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(1), 1, 15), new Object[]
{
"GGG",
"RBR",
" M ",
'G', "sheetPlastic",
'B', Item.book,
'R', Item.redstoneRepeater,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.LaserDrill.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 0), new Object[]
{
"GGG",
"LLL",
"DMD",
'G', "sheetPlastic",
'L', Block.glowStone,
'D', Item.diamond,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.LaserDrillPrecharger.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 1), new Object[]
{
"GGG",
"LSL",
"DMD",
'G', "sheetPlastic",
'L', Block.glowStone,
'D', Item.diamond,
'S', MineFactoryReloadedCore.pinkSlimeballItem,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.AutoAnvil.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 2), new Object[]
{
"GGG",
"AAA",
" M ",
'G', "sheetPlastic",
'A', Block.anvil,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.BlockSmasher.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 3), new Object[]
{
"GGG",
"HHH",
"BMB",
'G', "sheetPlastic",
'H', MineFactoryReloadedCore.factoryHammerItem,
'B', Item.book,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.RedNote.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 4), new Object[]
{
"GGG",
"CNC",
" M ",
'G', "sheetPlastic",
'C', MineFactoryReloadedCore.rednetCableBlock,
'N', Block.music,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.AutoBrewer.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 5), new Object[]
{
"GGG",
"CBC",
"RMR",
'G', "sheetPlastic",
'C', Block.chest,
'B', Item.brewingStand,
'R', Item.redstoneRepeater,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.FruitPicker.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 6), new Object[]
{
"GGG",
"SXS",
"SMS",
'G', "sheetPlastic",
'X', Item.axeGold,
'S', Item.shears,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.BlockPlacer.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 6), new Object[]
{
"GGG",
"DDD",
" M ",
'G', "sheetPlastic",
'D', Block.dropper,
'M', MineFactoryReloadedCore.machineBaseItem,
} ));
}
if(Machine.MobCounter.getIsRecipeEnabled())
{
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(MineFactoryReloadedCore.machineBlocks.get(2), 1, 6), new Object[]
{
"GGG",
"RCR",
"SMS",
'G', "sheetPlastic",