I want to sort of replicate the mob spawning mechanism, but I can't find the code that's responsible for looking for available spawning locations, determining which mob to spawn, the size of the group, etc. I've looked in World, WorldProvider, and Biome and can't find any code that can be what I'm looking for.