r/howdidtheycodeit • • May 23 '21

Question Minecraft World Saving

In a minecraft world there are lot's of blocks and their states. And some npc's. How do they save it.

46 Upvotes

11 comments sorted by

View all comments

Show parent comment

2

u/winauer May 24 '21

That's not at all how Minecraft stores the world. If it regenerated blocks that haven't been interacted with by the player then already generated chunks would get new content when you load them in a new version, which is not the case. Everything that the game generates is stored to disk. Minecraft doesn't regenerate terrain.