@ForwardingAudienceOverrideNotRequired
  default void removeResourcePacks(final @NotNull ResourcePackRequest request) {
    final List<ResourcePackInfo> infos = request.packs();
    if (infos.size() == 1) {
      this.removeResourcePacks(infos.get(0).id());
    } else if (infos.isEmpty()) {
      return;
    }

    final UUID[] otherReqs = new UUID[infos.size() - 1];
    for (int i = 0; i < otherReqs.length; i++) {
      otherReqs[i] = infos.get(i + 1).id();
    }
    this.removeResourcePacks(infos.get(0).id(), otherReqs);
  }
Clear resource packs with the IDs used in the provided requests if they are present.

@param request the request used to originally apply the packs
@since 4.15.0
@sinceMinecraft 1.20.3
api/src/main/java/net/kyori/adventure/audience/Audience.java