how do “seeds” work in video games such as Minecraft?

1.14K viewsOtherTechnology

For example, how does an infinitely randomized world like Minecraft manage to generate me an identical world to my friend with just a handful of numbers that they send me?

In: Technology

23 Answers

Anonymous 0 Comments

It’s not infinitely random. It’s random from a set starting point. Every “randomization” algorithm used in the game will generate the same result IF it’s starting from the same starting point.

The seed is that starting point.

Edit: I say every one in the game. All the ones used for building the world are working off of that seed. Other things can be used as a seed, like say a hash of the system time reported into the game. There are algorithms in minecraft using other seeds like what blocks get hit with random ticks. Those won’t be identical between worlds.

You are viewing 1 out of 23 answers, click here to view all answers.