Crafting recipe with skull

Discussion in 'Plugin Development' started by Elimnator, Dec 15, 2014.

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

    Elimnator

    I am trying to add a crafting recipe that uses a skull, but Its not working in game.

    Can anyone help?

    My code:
    Code:
            public void addRecipes(){
                //-------------Gold Head--------------
                ItemStack gh = getGoldHead("ยง6Gold Head", "Eat to regain health!");
                ShapedRecipe ghr = new ShapedRecipe(gh).shape("000", "010", "000");
                ghr.setIngredient('0', Material.GOLD_INGOT);
                ghr.setIngredient('1', Material.getMaterial(397));
                getServer().addRecipe(ghr);
            }
     
Thread Status:
Not open for further replies.

Share This Page