Set amount in crafting table

Discussion in 'Plugin Development' started by itsss, Dec 15, 2017.

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

    itsss

    Hello,
    I want developing to make crafting recipe include amount in crafting table,
    how to include amount? please help... thanks :)

    it is the code that i'm developed
    ShapedRecipe bbb = new ShapedRecipe(new ItemStack(Material.WATER_BUCKET, 1));
    bbb.shape(" ", "AB ", " A ");
    bbb.setIngredient('A', new Wool(DyeColor.ORANGE));
    bbb.setIngredient('B', new Wool(DyeColor.SILVER));
     
  2. Offline

    Drkmaster83

    Pretty sure you can't set amounts required on the left side of the inventory.
     
Thread Status:
Not open for further replies.

Share This Page