Revised the CraftRecipe methods to get and set ingredients (formerly known as items)
You can now use two new methods:
Code (Text):
CraftRecipe recipe = new CraftRecipe(new ItemStack(Material.DIAMOND), ingredients, "DiamondRecipe", this);
Material mat = recipe.getIngredient(CraftingSlot.ROW2_COLUMN2); // Get Item you have to put into middle slot of the workbench
recipe.setIngredient(mat, CraftingSlot.ROW1_COLUMN1); // Set item in middle slot of workbench