You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
I'll probably take a look at this tomorrow...
Notes for me:
Might be because the registry access in the loot table modifier event from fapi doesnt have access to enchantments? Not sure if the server started event gets fired or if the server starting event gives an instace of the server, but could try storing the server and getting the registry from there? nooo ideaaa
Hey! Any news on this? It's been a week now since I made the report
Also, re: this discord message you sent in the #github channel
oh cool i didnt expect others to use this as well haha
Haha, tbh I was having quite a bit of a hard time with adding the enchanted modded items through the loot table modifier class in 1.21.1 (I had no problems with adding them in 1.20.1), then I saw this mod thinking "Huh, maybe adding it through json would be much, much easier"
Already had all the json files prepared for each of the necessary structures, just need to wait for the fix to be able to fully implement them into my mod (with this mod as a dependency for the time being until I got to figure out how to add them via the modifier class in 1.21.1)
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 theenchant_with_levels
/enchant_randomly
functions, the game will crash as soon as the mod tries to load the loot table modifiersHere'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 timesI 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 enchantmentsThe text was updated successfully, but these errors were encountered: