Hey so just like the title says I'm looking to develop a custom recipe .json for Bedrock edition. This recipe would be able to take in different data values to get varying results.
In the case I'm working on currently but not limited to this specific case only, I'd like to bring dead coral back to life with an add-on. My goal is simple in concept. It would only be for the 'coral_block' namespace and for each DEAD coral it is 5 away for the Data value. (I.e. 'Tube Coral Block' = 0, 'Dead Tube Coral Block' = 5) https://minecraft.gamepedia.com/Coral_Block#Data_values
And I know I could just make a recipe for each coral on it's own, but I want to learn how this .json stuff works and I feel this could help me out a bit.
Is there anyway to get varying results based on the Data value on the ingredient? Or do I have to make a new recipe for each variation?