How to change/remove crafting recipes?

Discussion in 'Plugin Development' started by darkbro100, Jul 5, 2013.

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

    darkbro100

    How would I change a crafting recipe?

    And after that, how would I disable a specific crafting recipe?

    Like changing a golden apple crafting recipe to all golden ingots instead of nuggets. But people can't craft golden apples using golden nuggets?
     
  2. Offline

    artish1

    I'm too lazy to type all that stuff in but here's someone else's video on how to create custom recipes:
     
  3. Offline

    darkbro100

    Okay. Now how do I remove recipes? Like crafting a wooden plank. How could I remove that?
     
  4. Offline

    artish1

    You can always try making a custom recipe that overrides the default recipes, like just make a recipe of the Wood-log in the crafting bench anywhere and the result will be null or blank. and just add that recipe in. I've never tried it out but give it a go.
     
  5. Offline

    Compressions

    darkbro100 I would recommend cloning the current ShapelessRecipe for the wooden plank and setting the result to AIR. You could also cancel the event of a player crafting a certain item, though I'm not sure what the event is called.
     
  6. Offline

    darkbro100


    Hm, thanks. I'll look into what the event is called. Thanks again.
     
  7. Offline

    Compressions

    darkbro100 Glad I could help. Looks like CraftItemEvent.
     
Thread Status:
Not open for further replies.

Share This Page