Posted July 17, 201411 yr Hi, I have an Object A which contains a List of object B which each have a List of Object C. So this is : -A --B1 ----C1 ----C2 ----C3 --B2 ----C4 ----C5 etc.. I want to save it into my save. So as Diesieben07 tell me, I search about how works WorldSavedData and MapStorage. I have understand if you have only 1 field. For example an Id, when it's changed, you call markDirty() and it will be save. But in my case, if I make a WorldSavedData for object A, when I want to save the modification of C2, if I mark A as dirty, all my sub-object will be saved right ? How can I do to keep the same structure on my file with A is a NBTTagCompound, B a List, and C a List in B ? And in order that only C2 will be saved when I change it and not all the tree ? I hope it's understandable
July 19, 201411 yr Author Okay I didn't understand it like that You have definitely solutions to solve all my issues Thanks a lot Doctor Diesieben07
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.