Vanilla spawns in random position, too. See Block.java, function dropBlockAsItem_do()