Interface FeedbackMedia

All Known Implementing Classes:
ActionBarMedia, BossBarMedia, ChatMedia, SoundMedia, TitleMedia

@ConfigSerializable public interface FeedbackMedia
Represents a media type that can be sent to an Audience.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendMedia(net.kyori.adventure.audience.Audience audience, net.kyori.adventure.text.minimessage.tag.resolver.TagResolver... resolvers)
    Sends the media to the specified Audience.
    Gets the type of media.
  • Method Details

    • sendMedia

      void sendMedia(net.kyori.adventure.audience.Audience audience, net.kyori.adventure.text.minimessage.tag.resolver.TagResolver... resolvers)
      Sends the media to the specified Audience.
      Parameters:
      audience - the audience to send the media to
      resolvers - the tag resolvers to use
    • type

      MediaType type()
      Gets the type of media.
      Returns:
      the type of media