Custom Recipes

Discussion in 'Spigot Plugin Development' started by Voracious, May 21, 2015.

  1. So, I am making a plugin which is like IndustrialCraft. now I am working on making the custom recipes for the items, but I cannot figure a thing out. Say that I have a custom recipe for a machine frame, which consists of 8 iron. Then I want to take this custom item, and use it for an another CUSTOM recipe. How can I achieve that? Thanks in advance.
     
  2. You could look into using the CraftItemEvent.
     
    • Agree Agree x 1
  3. I recommend this tutorial. PogoStick29Dev has good coding tutorials if you know java, but are learning the Bukkit API.

     
  4. I know how to make custom recipes, I just want to make custom recipes with CUSTOM items. For example:
    Machine Frame:
    ===
    X: Nothing
    I: Iron
    III
    IXI
    III
    ===
    Then, I want to make a reinforced machine frame:
    ===
    M: Machine Frame
    I: Iron
    III
    IMI
    III
    ===
     
  5. I am going to see what I can find, and post back if I achieve something.