Minecraft wiki entry for Spawn, associated text: In Java Edition many animals generate upon initial chunk creation. These spawns occur only once per chunk. They are not affected by the /gamerule doMobSpawning command.