"OPO",
"OOO",
'O', new ItemStack(Blocks.obsidian),
'P', new ItemStack(Items.ender_pearl));
EnumMachineGamma itemLoader = EnumMachineGamma.ITEM_LOADER;
if (itemLoader.register()) {
ItemStack stack = itemLoader.getItem();
ItemStack detector = EnumDetector.ITEM.getItem();
if (detector == null)
detector = new ItemStack(Blocks.stone_pressure_plate);
CraftingPlugin.addShapedRecipe(stack,
"SSS",
"SLS",
"SDS",
'S', new ItemStack(Blocks.cobblestone),
'D', detector,
'L', new ItemStack(Blocks.hopper));
itemLoader = EnumMachineGamma.ITEM_LOADER_ADVANCED;
if (itemLoader.register())
CraftingPlugin.addShapedRecipe(itemLoader.getItem(),
"IRI",
"RLR",
"ISI",
'I', "ingotSteel",
'R', Items.redstone,
'S', RailcraftToolItems.getSteelShovel(),
'L', stack);
}
EnumMachineGamma itemUnloader = EnumMachineGamma.ITEM_UNLOADER;
if (itemUnloader.register()) {
ItemStack stack = itemUnloader.getItem();
ItemStack detector = EnumDetector.ITEM.getItem();
if (detector == null)
detector = new ItemStack(Blocks.stone_pressure_plate);
CraftingPlugin.addShapedRecipe(stack,
"SSS",
"SDS",
"SLS",
'S', new ItemStack(Blocks.cobblestone),
'D', detector,
'L', new ItemStack(Blocks.hopper));
itemUnloader = EnumMachineGamma.ITEM_UNLOADER_ADVANCED;
if (itemUnloader.register())
CraftingPlugin.addShapedRecipe(itemUnloader.getItem(),
"IRI",
"RLR",
"ISI",
'I', "ingotSteel",
'R', Items.redstone,
'S', RailcraftToolItems.getSteelShovel(),
'L', stack);
}
EnumMachineGamma liquidLoader = EnumMachineGamma.LIQUID_LOADER;
if (liquidLoader.register()) {
ItemStack detector = EnumDetector.TANK.getItem();
if (detector == null)
detector = new ItemStack(Blocks.stone_pressure_plate);
CraftingPlugin.addShapedRecipe(liquidLoader.getItem(),
"GLG",
"G G",
"GDG",
'D', detector,
'G', new ItemStack(Blocks.glass),
'L', Blocks.hopper);
}
EnumMachineGamma liquidUnloader = EnumMachineGamma.LIQUID_UNLOADER;
if (liquidUnloader.register()) {
ItemStack detector = EnumDetector.TANK.getItem();
if (detector == null)
detector = new ItemStack(Blocks.stone_pressure_plate);
CraftingPlugin.addShapedRecipe(liquidUnloader.getItem(),
"GDG",
"G G",
"GLG",
'D', detector,
'G', new ItemStack(Blocks.glass),