Not sure whether it is a problem with this mod or just with how I'm doing things, but when I tried to create a new world, and a loot table modifier json file contains the #on_random_loot option for the enchant_with_levels/enchant_randomly functions, the game will crash as soon as the mod tries to load the loot table modifiers
Here's the crash report, debug.log and one of the json files I'm working with
https://gist.github.com/NuruddinPlays/2c30d6a942f32535ded8cee63d8daa25
I have tried both with and without the minecraft: namespace, and the game crashed both times
I have also tried removing the #on_random_loot option from the json files, and the game works fine, but the items won't have any enchantments