hey guys I have made a new recepie for a craftable item in Bukkit, and I want to use this in the recipe of another new craftable item. is that possible?
hm this isnt workin. i took: weed.setIngredient('&', result); item1: ItemStack result = new ItemStack(Material.WHEAT); ItemMeta im = result.getItemMeta(); ShapedRecipe weed = new ShapedRecipe(result)
when i type in weed.setIngredient('&', result); , the setIngredient is red underlined in Eclipse, error: is not applicable for the agument
setIngredient()'s 2nd argument accepts only Material, you can't set an itemstack. You could just use result.getType() to get the material... and it would be wise to use result.getDurability() as 3rd argument of setIngredient() too. A quick question, do you really want to learn or you just want the end product ? If you just want the plugin I suggest you post in requests because you'll be wasting your time and our time here But if you want to learn, keep trying, keep searching and whenever you're just absolutely stuck then post.
1st thing to learn is to not hijack someones thread. Poor tschagg is never going to get his question answered.