Custom recipes out of custom recipes

Discussion in 'Plugin Development' started by Frostblockers, Mar 15, 2015.

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

    Frostblockers

    Hey guy i wanted to know if it was possible to me a custom recipes out of another one


    Example: You craft a diamond shovel Name Jetpack1 out of 3 dirt and you can craft Jetpack2 out of grass

    can i make A Item out of these 2 items below example

    Jetpack1,iron,jetpack2
    Jetpack1,iron,jetpack2 = Jetpack
    Jetpack1,iron,jetpack2


    Or is there a way to create a custon Material like these one Material.Jetpack


    Thx!
     
  2. Offline

    nverdier

  3. Offline

    Frostblockers

    Ok and about the first option?

    builderheadr.shape("DDD",
    "DDD",
    "DDD");
    builderheadr.setIngredient('D', Material.DIRT); <------------- could this dirt as a special name to it and a lore
     
    Last edited by a moderator: Mar 15, 2015
  4. Offline

    LeePMC

    you can make items that are names Jetpack, but they have to be an item already in the game, to make a custom crafting recipie out of a custom item, the itemstack that you make for the outcome of the first recipe you use in the second recipe, so in your case you would need 3 item stacks, jetpack1 jetpack 2 and jetpack, you can craft jetpack 1 and two out of vanilla materials, but then when you make the custom recipe for jetpack, you put in the itemstack of jetpack1 and jetpack 2, i hope you understand what I'm trying to say here, i would post the code, but don't want to spooned the answer to you
     
Thread Status:
Not open for further replies.

Share This Page