I'm trying to add a custom statistic for how many Easter eggs the player has found to my mod but haven't found any information on how to do this properly. I tried copying the makeCustomStat() method from the Stats class but that gives me the error "Registry is already frozen (trying to add key ResourceKey[minecraft:custom_stat / minecraft:easter_eggs_found])" when I try to use the stat. Does anyone know how to properly add a custom stat?
I am looking for some assistance in subscribing to the event of a player transferring items from a container to their inventory. I ask as I find that neither the EntityItemPickupEvent nor the ItemPickupEvent fire in this circumstance, only when picking up from the ground.
Any help would be appreciated.
Hello
Logs: https://paste.ee/p/cHLGl
Its not a custom modpack, the name of the modpack is SteamPunk. I could create another world without problems. (btw. my datapacks folder is empty). It didn't crash. I quit the game and the next day when I try to get in my world I got this picture.
I would really appreciate your help
Recommended Posts