I'm having some trouble with creating the crafting recipes for my HaloEnergySwordsMod. I have the recipe for the Energy Sword complete and working, however, I also want to add different dyed versions of the Energy Sword, made from putting an energy sword and a single piece of the desired dye in the crafting table. The issue is that the crafting recipe refuses to work, no matter which dye I use, whether it be bone meal, ink sacs or any other.
Here is the json file for the crafting recipe that I've been having issues with:
EDIT: I cannot for the life of me figure out how to do this... I've figured out a different way of doing this, so that for now the recipes will require the various vanilla materials, such as redstone for the red energy sword, gold nugget for the yellow energy sword etc. If someone could find out how to use dyes in the recipes, that would be great, however I will be using the vanilla materials instead of dyes for now.
The metadata value you provided for bonemeal was incorrect, and the 0 is for ink sacs. However, this means that all I need to do is go through and test for each type of dye to get their metadata values. Nvm, I found a list online.
Thanks for your help man, you will be credited in my mod!