Geek Pocket Minecraft - Web Site Smaller Banner    Through the Looking Glass

The Strange Case of Seed 2664

Most of the seeds published on this website are "Insta Seeds" based on robotically auto-generated thumbnails from the Windows 10 Edition. Normally, the seeds work exactly the same way on Pocket Edition, except for minor details like pumpkin placement, ore locations, etc. Sometimes Pocket Edition will spawn a few meters away from where Windows 10 spawns.

However, I accidentally stumbled upon a seed that worked totally differently. How is this possible since almost all other seeds work fine?

Minecraft PE Seed 2664 differs from Windows 10 Seeds 2664

I did a bunch of searching on Seed 2664 on Pocket Edition, and I finally found a feature that looked just like the Windows 10 seed... but about 600 meters due north across the ocean and with east and west swapped! And the views are the same... but then not the same. It's like the Through the Looking Glass book where things on the other side of the mirror are the same but not quite the same. It's fun to look at the two images below and spot all the differences.

Minecraft PE Seed 2664, about 600 meters north from spawn, facing east

Windows 10 Edition Seed 2664, at spawn, facing west

My theory

It seems obvious that there are at least two "passes" to terrain generation. In the first pass, the shape of the land is formed and biomes are assigned. This is done via some function that extends the terrain infinitely in all directions (blue arrows in the concept diagram below):

Minecraft PE terrain generation theory diagram

The origin -- i.e., coordinates (0,0) -- of this map is apparently not fixed but assigned after terrain generation. Because the origin also becomes the world spawn point, the game has to make sure that Steve does not spawn in deep water in the ocean. So the first candidate is point A. I have noticed that, although Windows 10 Edition and Pocket Edition are normally near identical, sometimes Pocket Edition spawns Steve in a slightly different location than Win10 -- i.e., maybe a few meters away. If this is the case, it's possible that in the case of Seed 2664, the deep water check PASSED for Pocket Edition and failed for Windows 10 Edition. So, for Windows 10, the game tried another origin candidate, point B. That one worked. Also it chose a different direction for west (the direction you face at spawn). Once the origin is chosen, chunks are assigned, then the details are filled in: trees, ore locations, cave locations, generated structures, etc. Because of the different origin, the randomizer was thrown off just enough to produce different results.

This page last updated 02/04/2016. Web site content (C) 2016 Kevin Jay North. Free for personal use; do not copy to other websites without permission.
The Minecraft Pocket Edition game itself is owned, sold and distributed by Mojang. Builder Buddies is owned, sold and distributed by Robledo Software, LLC. This web site is not affiliated with Mojang or Robledo.