Solved Create a Lossless Crafting Recipe

Discussion in 'Plugin Development' started by Maurdekye, Apr 8, 2014.

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

    Maurdekye

    I'm aware that you can make custom crafting recipes using Bukkit, but I want to know how to make lossless crafting recipes. Recipes that leave items in the crafting table when used, like the buckets when you make a cake.
     
  2. Offline

    iPoke111

    Maurdekye
    This probably won't be the perfect soloution, but you could try to add the items back into the crafting slot after a craftitemevent.

    Wait, I just realised that crafting slots have identical slot numbers to the first four hotbar slots... This is going to be hard, sorry I don't know.
     
  3. Offline

    Maurdekye

    I thought this would be easier to do... guess I was mistaken.

    Wait, nevermind, i've figured out how. You just add the items to be retained back into the player's inventory on the CraftItemEvent.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page