Okay, it bothers me, looking through the data lines, I found where enchantment saves things. I'm sorry, but I don't know anything about this at all. But it's never too late to start. As I managed to understand mode.persistent_data is a thing inside the mod itself and it is it that needs to be pulled out.
However, trinkets stores data in MetaData, I don't really understand the point, but by accessing the player through the nbt editor, I can find all the data about things in my pockets
Okay, it bothers me, looking through the data lines, I found where enchantment saves things. I'm sorry, but I don't know anything about this at all. But it's never too late to start. As I managed to understand mode.persistent_data is a thing inside the mod itself and it is it that needs to be pulled out.
musuen.persistent_data:{musuen.is_phasing:30686701L},musuen.pockets:{items:[{Count:1b,id:"mod:item2",slot:9b}]
However, trinkets stores data in MetaData, I don't really understand the point, but by accessing the player through the nbt editor, I can find all the data about things in my pockets