sisby-folk / switchy

A minecraft mod that combines player personalization features from other mods into presets.
https://modrinth.com/mod/switchy
GNU Lesser General Public License v3.0
12 stars 8 forks source link

Pockets Module (ilmusu's enchantments mod) #71

Open mrcrashmer opened 5 months ago

mrcrashmer commented 5 months ago

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