Hi, I am doing a new plugin and I need some help. When the minecart is clicked in a gui I want to show the minecarts recipe in a crafting table gui. Is i possible? How can I do it? Code:java if(event.getCurrentItem().getType() == Material.MINECART){ //SHOW RECIPE } Thanks
galaipa Google has provided my with this answer: https://forums.bukkit.org/threads/get-ingredient-list-for-an-existing-crafting-recipe.88457/
Yes, I had already readed that post when I wrote this post. But, I need the code. I can't understand what they say. Thanks
Welcome to Object Oriented Programming. Get the recipe you want like metioned above, and thats the object. From the object you can get the ingredients, or name, or lore, or anything you want to know (or change) about it.