hello! : )
for the last month I've been working on porting an old mod, Advanced Combat, to 1.16.5. just for my own personal game, not to reupload. I have gotten everything done, except for the recipes. the way recipes were made in the original mod was through code. I've tried out a few methods but nothing seemed to work.
https://pastebin.com/mERPVcnX & https://pastebin.com/0N8zvGNN
just for some context for my question, Advanced Combat has items called "upgrades". each upgrade represents a vanilla enchantment, and can be crafted to enchant items in the crafting table. some enchantments like protection has a normal and elite version that can enchant an item double its vanillas max level. (i.e. protection 1-4 and elite protection 5-8)
my question is how could I make a recipe for tools to be enchanted with these upgrades in the crafting table?
thank you!!