Minecraft wiki entry for Cow, associated text: In Java Edition, herds of 4 cows spawn on grass blocks at a light level of 7 or higher with at least 2 blocks of space above, except in snowy plains, meadows and wooded badlands. Cows rarely spawn individually above grass after world generation.