Would it be possible to make a save file for a game

Would it be possible to make it so if someone presses a button, it would load in the game as they have left it?
I want something like this for my newest game Survival in the Wilderness.
So people don’t have to rebuild their house every time they load up the game.
I want it to save the randomly generated world, what was built in it, and all entities.
I saw something like this before but it didn’t work very well and I hoped to find a better solution.

Well you’ll need every block placed to save it’s x and y position with a save block, then read that save once the game starts.


Okay, @BradenS ,but how do I do that?

So I just put this on every object in the game?

Yeah, but his saved destroyed blocks. You would need to make it for placed blocks instead.