Melbees

I've never played much Minecraft, but I fell down the RNG hole

A Summoning Salt video on Minecraft speedrunning and a Veritasium one sent me into RNG: why the seed decides so much, and why a computer doesn't generate truly random numbers.

By Melbees Dev · Published on · Updated on · 5 min read

Same seed, same sequence: a computer's random isn't that random.

Pow

I've never played much Minecraft, but my daughter does. She loves the creative side of the game, and when I asked what she sees in it, the answer came right away: "It encourages creativity. It lets me create things I can't create in real life."

So it was a surprise when I watched Summoning Salt's new video, Minecraft Speedrunning: A Brief History, published November 14 and 73 minutes long. Plenty of games have speedruns, and Minecraft, one of the most played games in the world, wasn't going to be left out. But I always saw Minecraft as a fun way to pass the time, not something competitive. It was great to see that new side of it.

Watch the post’s Short

The video that went out on social media. It only loads when you tap play.

RNG, and the seed that decides everything

Like in a lot of games, Minecraft speedrunning leans hard on RNG. That's what speedrunners call the differences from one run to the next: an item that moves, an enemy that acts differently, an event that changes order. The cause of those differences is the seed, a number the game uses to decide how that run will play out. In Minecraft, it draws the whole world. RNG stands for random number generator, and among speedrunners it also means a run's luck.

The seed makes a huge difference. Even the best player in the world, with a bad seed, won't post a good time. That's why speedrun.com splits Minecraft: Java Edition runs by seed type. In Set Seed, the speedrunner picks the world before the attempt, with the best placement of structures and items, and practices the routes in that exact scenario. In Random Seed, the world comes from the game, and luck joins the equation. Two Any% records (finish the game as fast as possible), version 1.9+:

  • Set Seed: 31.852 seconds of in-game time, from December 22, 2025. See the run.
  • Random Seed: 3 min 51.965 s of in-game time, from January 3, 2024. See the run.

Thirty-odd seconds on one side, almost four minutes on the other. And yes, the seed weighs on that gap. Runners on a set seed know the scenery by heart: they pick the seeds with the best maps, the closest structures and the best paths, and drill the same route over and over. That repetition builds muscle memory, and it is that, together with the right map, that makes times as absurd as 30 seconds possible. The numbers come from speedrun.com.

Is a random seed actually random?

The speedrun community already knows it isn't. Even when it's picked at random, the seed feeds a deterministic world generation. So even without choosing the seed, you can use certain conditions of the run to work out where other items and structures are. So much so that one of the most controversial decisions in Minecraft speedrunning was allowing a calculator: you feed it your game state, and it tells you where the structure you're looking for is. Before that, speedrunners used a little lookup table. Hence the question: why should it be random, and why isn't it?

Then came Veritasium

A few days later, on the 18th, Veritasium published Randomness is a lie. Let me explain, which explains how computers generate random numbers, really pseudorandom ones. And it goes further: an ordinary software generator doesn't produce truly random numbers. There are documented cases of people who found the pattern of certain slot machine models and won more than expected. Minecraft and casinos have more in common than it seems. Thanks to Summoning Salt and Veritasium for mixing video games and science.

Same seed, same sequence

A computer doesn't roll dice. A pseudorandom generator starts from an initial number, the seed, and runs a calculation that spits out a sequence that looks random. With the same generator and the same sequence of calls, reusing the seed brings the same sequence back. That's how it works in the main programming languages, like Python and Java, the language Minecraft Java Edition was built in. The documentation of Python's random module describes this behavior.

Predicting what comes next is another step: from the outside, you need to know or reconstruct the generator's internal state. The Mersenne Twister, which Python uses, is deterministic, and the documentation itself says it isn't suitable for security or cryptography. Generators like this become predictable once the state is reconstructed; cryptographic generators come with other guarantees. It doesn't prove any given casino is exploitable, but it shows why the pattern of a weak machine can be found and used.

What if it isn't a calculation?

In March 2025, Nature published Certified randomness using a trapped-ion quantum processor (the open version is on arXiv), by JPMorganChase with Quantinuum and US labs. On a 56-qubit quantum computer, the authors certify 71,313 bits of entropy, under specific assumptions and limits. Quantum computing can yield unpredictable results with certified randomness. This experiment demonstrates the protocol under specific conditions.

Is that the future of speedrunning? What if a game made certain events unpredictable even when you know the seed? With no pattern for the community to find, how would strategies change?

Seed in Minesweeper

Our Minesweeper uses a seed too. With the same seed, the same level and the same first-click square, you get the exact same board, and you can send the link to someone so they play it too.

Seed in Melbees: The Secret of Bees

In Melbees: The Secret of Bees, our main game, every regular run is born from a unique seed that the player doesn't control. That's why you can't replay a regular run. The Daily Challenge is different: its seed is shared by all players, so everyone plays the same honeycomb on the same day, and the runs become comparable across different people.

Want to know if you're better or worse than your friend or a family member? Share the Daily Challenge with them and settle it on the same honeycomb. Play the Daily Challenge.