How can I load all Media of a certain type?
If you use entity query you can filter the entities by type before uploading them.

$ids = \Drupal::entityQuery('media')
  -&gt;condition('bundle', 'YOUR_TYPE')
  -&gt;execute();

$medias = Media::loadMultiple($ids);