docs icon indicating copy to clipboard operation
docs copied to clipboard

Document ForwardingAudience

Open kezz opened this issue 2 months ago • 0 comments

Points to cover

  • extend .Single
  • how only the terminal methods are overridden
  • Use in cross-platform plugins

Example use cases

public class GameTeam implements ForwardingAudience {
  private final List<GamePlayer> players = new ArrayList<>();

  // ....

  @Override
  public @NonNull Iterable<? extends GamePlayer> audiences() {
    return this.players;
  }
}

Migrated from https://github.com/KyoriPowered/adventure-docs/issues/8

kezz avatar Oct 06 '25 12:10 kezz