()
| 10 | |
| 11 | public class BCLibRecipes { |
| 12 | public static void fmlInit() { |
| 13 | if (BCLibItems.guide != null) { |
| 14 | Object[] input = { new ItemStack(Items.BOOK), null }; |
| 15 | if (BCItems.CORE_GEAR_WOOD != null) { |
| 16 | input[1] = BCItems.CORE_GEAR_WOOD; |
| 17 | } else { |
| 18 | input[1] = Items.STICK; |
| 19 | } |
| 20 | GameRegistry.addRecipe(new ShapelessOreRecipe(BCLibItems.guide, input)); |
| 21 | } |
| 22 | } |
| 23 | } |