@Override
  default @NotNull Audience filterAudience(final @NotNull Predicate<? super Audience> filter) {
    @Nullable List<Audience> audiences = null;
    for (final Audience audience : this.audiences()) {
      if (filter.test(audience)) {
        final Audience filtered = audience.filterAudience(filter);
        if (filtered != Audience.empty()) {
          if (audiences == null) {
            audiences = new ArrayList<>();
          }
          audiences.add(filtered);
        }
      }
    }
    return audiences != null
      ? Audience.audience(audiences)
      : Audience.empty();
  }
Gets the audiences.

@return the audiences
@since 4.0.0
api/src/main/java/net/kyori/adventure/audience/ForwardingAudience.java