Minecraft wiki entry for Spawn, associated text: Randomness for animal spawning is derived from the world seed, which means that worlds with the same seed always generate chunks with the same animals in the same places.