quick question: does it make sense to use loops for adding recipes with a lot of metadata? would that be less laggy?
Depends. If Wildcard Damage doesn't work then you have no other choice, than this or to hardcode it, and the more Hardcode you have, the more RAM Java tries to eat, so a Loop is better.