getNaturalMobLevel
This gets the level the natural Elite Mob should have. This level is determined by the power of the armor and weapons the players are wearing, as well as by how many players are in the area.
Return
Parameters
spawnLocation
Location to scan around for players
public static int getNaturalMobLevel(Location spawnLocation, List<Player> nearbyPlayers, CreatureSpawnEvent.SpawnReason spawnReason)