'E', Items.emerald,
'S', ModuleManager.isModuleLoaded(ModuleManager.Module.FACTORY) ? RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL) : new ItemStack(Blocks.iron_block));
}
// Define Bore
EnumCart cart = EnumCart.BORE;
if (cart.setup()) {
CraftingPlugin.addShapedRecipe(cart.getCartItem(),
"ICI",
"FCF",
" S ",
'I', "blockSteel",
'S', Items.chest_minecart,
'F', Blocks.furnace,
'C', Items.minecart);
String tag = "tool.bore.head.diamond";
if (RailcraftConfig.isItemEnabled(tag)) {
Item item = new ItemBoreHeadDiamond();
ItemRegistry.registerItem(item);
CraftingPlugin.addShapedRecipe(new ItemStack(item),
"III",
"IDI",
"III",
'I', "ingotSteel",
'D', Blocks.diamond_block);
ItemRegistry.registerItemStack(tag, new ItemStack(item));
}
tag = "tool.bore.head.steel";
if (RailcraftConfig.isItemEnabled(tag)) {
Item item = new ItemBoreHeadSteel();
ItemRegistry.registerItem(item);
CraftingPlugin.addShapedRecipe(new ItemStack(item),
"III",
"IDI",
"III",
'I', "ingotSteel",
'D', "blockSteel");
ItemRegistry.registerItemStack(tag, new ItemStack(item));
}
tag = "tool.bore.head.iron";
if (RailcraftConfig.isItemEnabled(tag)) {
Item item = new ItemBoreHeadIron();
ItemRegistry.registerItem(item);
CraftingPlugin.addShapedRecipe(new ItemStack(item),
"III",
"IDI",
"III",
'I', "ingotSteel",
'D', Blocks.iron_block);
ItemRegistry.registerItemStack(tag, new ItemStack(item));
}
}
// Define Track Relayer Cart
cart = EnumCart.TRACK_RELAYER;
if (cart.setup())
CraftingPlugin.addShapedRecipe(cart.getCartItem(),
"YLY",
"RSR",
"DMD",
'L', new ItemStack(Blocks.redstone_lamp),
'Y', "dyeYellow",
'R', new ItemStack(Items.blaze_rod),
'D', new ItemStack(Items.diamond_pickaxe),
'S', "blockSteel",
'M', new ItemStack(Items.minecart));
// Define Undercutter Cart
cart = EnumCart.UNDERCUTTER;
if (cart.setup())
CraftingPlugin.addShapedRecipe(cart.getCartItem(),
"YLY",
"RSR",
"DMD",
'L', new ItemStack(Blocks.redstone_lamp),
'Y', "dyeYellow",