Add API to set whether or not a player affects nearby mob spawning

Players that don't affect spawning will not activate mob spawners and will be ignored by the natural spawning and despawning algorithms.