Interface MessageEvent

All Superinterfaces:
Event
All Known Subinterfaces:
AdvancementEvent.Grant, AudienceMessageEvent, DestructEntityEvent, DestructEntityEvent.Death, KickPlayerEvent, PlayerChatEvent, PlayerChatEvent.Decorate, PlayerChatEvent.Submit, ServerSideConnectionEvent.Auth, ServerSideConnectionEvent.Intent, ServerSideConnectionEvent.Join, ServerSideConnectionEvent.Leave, ServerSideConnectionEvent.Login, SystemMessageEvent

public interface MessageEvent extends Event
Describes events when a involving a Component message.
  • Method Details

    • originalMessage

      Component originalMessage()
      Gets the original Component message.
      Returns:
      The message
    • message

      Component message()
      Gets the message.
      Returns:
      Message
    • setMessage

      void setMessage(Component message)
      Sets the message.
      Parameters:
      message - The message