Add a brewing recipe

Discussion in 'Plugin Development' started by libraryaddict, Oct 13, 2012.

  1. So I was wanting to look into making a custom potion right?

    Except I can not find any documentation on adding a brewing recipe.

    Would someone be able to help me out here?
     
  2. There is no api that I know of. You would have to start by looking at the net/minecraft/server code to see where the brewing stand gets its recipes from and then hooking into that.
     
  3. The system there seems to be really complex..

    As far as I understand for a recipe to be valid it must meet so and so criteria.

    To meet the criteria the items must be this and this.
    Which are defined inside the class
    The items are given a data id for each item and the final craft is all the items data id's combined.

    So to add a new recipe I must add new variables as well as configure out some math.

    This wasn't from bukkit tho..
     

Share This Page