Hello, I am making a plugin, and I am trying to use shapeless recipes to craft a stick. I tried adding 2 wood planks to a shapeless recipe, but when I use getResult() instead of getting a stick I get a wood plank again. Could someone tell me if you can craft items with shapeless recipes, and how? Do I have to use a shaped recipe instead?
Just tried this: Code: getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STICK, 1)).addIngredient(2, Material.WOOD)); And it seems to work fine.