2

In minecraft, before creating a world you have an option to input a seed. The algorithm takes the seed and creates a completely unique world. How does this work?

psr
  • 12,866
  • 5
  • 39
  • 67

1 Answers1

13

It gives the seed to a pseudorandom number generator (PRNG) and uses that PRNG to generate the world.

Giving the same seed will give the same sequence from the PRNG and thus generate the same world.