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
-
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 specifiedAudience.- Parameters:
audience- the audience to send the media toresolvers- the tag resolvers to use
-
type
MediaType type()Gets the type of media.- Returns:
- the type of media
-