Interface MessageEvent

All Superinterfaces:
Event
All Known Subinterfaces:
AdvancementEvent.Grant, AudienceMessageEvent, DestructEntityEvent, DestructEntityEvent.Death, KickPlayerEvent, PlayerChatEvent, ServerSideConnectionEvent.Auth, ServerSideConnectionEvent.Disconnect, ServerSideConnectionEvent.Join, ServerSideConnectionEvent.Login

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