Player Complete Recipe Event?

Discussion in 'Plugin Development' started by XDemonic25, Feb 27, 2013.

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

    XDemonic25

    Is there some way or event To know when a player has completed a certain recipe?
     
  2. Offline

    chasechocolate

  3. PrepareItemCraftEvent is triggered when a recipe is matched and the result is displayed in the slot, it't not cancellable but you can set inventory's result to null to cancel the craft.

    CraftItemEvent is an extension of InventoryClick, triggers when you click the craft slot to get the result.

    However, if you want to know if the player crafted your own custom recipe then... if you're making an unique item that can be easily identified you should check that, otherwise you need to check ingredients and that'll be kinda complicated.
     
Thread Status:
Not open for further replies.

Share This Page