Get the recipe used to craft an ItemStack

Discussion in 'Plugin Development' started by Reflxction, Aug 8, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Reflxction

    Hello bukkiteers.
    I've been searching far and wide looking for an answer... nothing.
    Anyways, let's skip that drama. I'm trying to find a method that gets the recipe used to craft an ItemStack. I couldn't find any. Any hints?
     
  2. Offline

    AdamDev

    What do you mean? Is it going from a normal recipe to a custom Itemstack or a custom recipe to a custom Itemstack?
     
  3. Offline

    Reflxction

    For example, the wooden sword is 1 stick and 2 wood. I am looking for a method to get this recipe
     
  4. Offline

    AdamDev

    So you want something to grab the result/items of the recipe to change it or just grab it?
     
    Last edited: Aug 8, 2017
  5. Offline

    MrGriefer_

    Bukkit.getRecipesFor()
     
Thread Status:
Not open for further replies.

Share This Page