Custom Crafting with specific Item Stack?

Discussion in 'Plugin Development' started by Mr. Sandwich, Jun 25, 2016.

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

    Mr. Sandwich

    So I want to create a custom crafting recipe but to craft it you need specific item stacks not specific material, is there a way to do it?

    example for specific material crafting:
    Code:
    recipe.setIngredient('@', Material.STONE);
    
     
  2. Offline

    Forge_User_45064837 Retired Staff

    @Mr. Sandwich Not possible, you will need to use another container such as a dispenser and check when someone interacts with it then see the item stacks inside it. (This wasn't possible in 1.8 but might be now with MaterialData in 1.10)
     
  3. Offline

    MisterErwin

Thread Status:
Not open for further replies.

Share This Page