Posted November 17, 201410 yr I would like to know how to save additional data to a world when the world saves. I've searched Minecraft's classes but to no avail. I saw before that there was a way but I can't find that website again. Thanks in advance.
November 17, 201410 yr I would like to know how to save additional data to a world when the world saves. I've searched Minecraft's classes but to no avail. I saw before that there was a way but I can't find that website again. Thanks in advance. Use NBT. If your not sure about NBT here is a tutorial http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CC0QFjAB&url=http%3A%2F%2Fwww.minecraftforge.net%2Fwiki%2FCreating_NBT_for_items&ei=2lFqVP7vM8POsQTQhoKADw&usg=AFQjCNGeVFOr8_WH3FalvWv54A1NeQeCeg&sig2=6qUnbE5cSyUI8IRGEuuB0Q&bvm=bv.79142246,d.cWc
November 17, 201410 yr Use WorldSavedData . There are tutorals on the internet. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
November 17, 201410 yr I would like to know how to save additional data to a world when the world saves. I've searched Minecraft's classes but to no avail. I saw before that there was a way but I can't find that website again. Thanks in advance. Use NBT. If your not sure about NBT here is a tutorial http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CC0QFjAB&url=http%3A%2F%2Fwww.minecraftforge.net%2Fwiki%2FCreating_NBT_for_items&ei=2lFqVP7vM8POsQTQhoKADw&usg=AFQjCNGeVFOr8_WH3FalvWv54A1NeQeCeg&sig2=6qUnbE5cSyUI8IRGEuuB0Q&bvm=bv.79142246,d.cWc Does that stay saved when you exit the world? That is what I'm using currently but I'm just not sure. @larsgerrits WorldSavedData could be a possibility. I'll look into it.
November 17, 201410 yr I would like to know how to save additional data to a world when the world saves. I've searched Minecraft's classes but to no avail. I saw before that there was a way but I can't find that website again. Thanks in advance. Use NBT. If your not sure about NBT here is a tutorial http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CC0QFjAB&url=http%3A%2F%2Fwww.minecraftforge.net%2Fwiki%2FCreating_NBT_for_items&ei=2lFqVP7vM8POsQTQhoKADw&usg=AFQjCNGeVFOr8_WH3FalvWv54A1NeQeCeg&sig2=6qUnbE5cSyUI8IRGEuuB0Q&bvm=bv.79142246,d.cWc Does that stay saved when you exit the world? That is what I'm using currently but I'm just not sure. @larsgerrits WorldSavedData could be a possibility. I'll look into it. Yea, that is what NBT is for, saving data
November 18, 201410 yr You should use WorldSavedData because it is automatically saved and loaded for you. WorldSavedData does use NBT to do the saving. NBT is just a flexible structure to allow saving a mix of common data types all together. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.