public static interface MessageSinkEvent.Chat extends MessageSinkEvent
Text
being sent to a MessageSink
was due to chatting.MessageSinkEvent.Chat
Modifier and Type | Method and Description |
---|---|
Text |
getRawMessage()
Gets the 'raw' chat message.
|
getOriginalSink, getSink, setSink
getMessage, getOriginalMessage, setMessage
isCancelled, setCancelled
getCause
Text getRawMessage()
This message is the original chat message, without any formatting whatsoever. In Vanilla, this is equivalent to what a player typed into the chat box (no name prefix or other elements).