I have just a couple of problems with an add-on I'm developing. One issue is that I need help with is my enchant tag not properly enchanting an item inside a loot table.
By using an ench tag under "set_nbt" in functions, I am attempting to add a level two frost walker enchantment on a mob. I was successful through "enchant_randomly" and "enchant_with_levels" functions but they're not 100% reliable. Please take a moment and see if you can recognize why it's not properly working.