I'm looking for some insight on how mobs spawn. Mainly how the game decides when to spawn a mob when the requirements are made. I'm also looking for any information on said requirements that aren't mentioned on the wiki which are (temp, rainfall, light level). Things like how much open space is needed and what blocks animals can spawn on. All info is appreciated and thank you for reading.