Started by
Kylebutter123
on
Topic category: Help with Minecraft modding (Java Edition)
Everytime I edit a variable in my world, quit minecraft, then join back into the world, the variable doesn't save
can anyone help with this problem..?
You can use WorldSavedData for world related variables, Capabilities for entity/item related variables or you can do your own system.
does using WorldSavedData require any manual coding?
Of course that it does. You have to create the class that extends the WorldSavedData.class, override few methods regarding the NBT read and write + you have to create an event handler to load the data on world load.
I know this thread is old, but are there any possible workarounds to this? (Without coding)
Wait for 1.8.3 to come out.