I have a weak modding knowledge and a java noob, but I can work my way out if I get an example.
So I added 3 different items to an oredict and I want to use them in a couple of shapeless crafting recipes. I also want them to take damage upon crafting. How do I achieve that?
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.DIAMOND, 1),new ItemStack("stonePhis", 1 , OreDictionary.WILDCARD_VALUE),"ingotGold","ingotGold","ingotGold","ingotGold"));
This is supposed to take any item from that oredict with any damage value but it expectedly doesn't work because you can't have quotation marks in Itemstack. So how do I get this to work and how do I damage it upon crafting?