I am trying to create an item that has two different recipes that can be accessed from the same crafting menu entry. If you do both the gold ingot crafting recipes(the 9 gold ingots or 1 gold block) you will find that you can craft both from the same crafting entry and choose between the two recipes by right-clicking and selecting one from the small menu that comes up. I am trying to replicate this but am unable to find the documentation for it.
I don't really care that much whether or not I am able to do this because no one uses the crafting menu anyways but it would be neat. Thanks in advance for any help.