public class ClientChatReceivedEvent extends Event
Event.HasResult, Event.Result
Constructor and Description |
---|
ClientChatReceivedEvent(byte type,
ITextComponent message) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getMessage() |
byte |
getType()
Introduced in 1.8:
0 : Standard Text Message
1 : 'System' message, displayed as standard text.
2 : 'Status' message, displayed above action bar, where song notifications are.
|
void |
setMessage(ITextComponent message) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public ClientChatReceivedEvent(byte type, ITextComponent message)
public ITextComponent getMessage()
public void setMessage(ITextComponent message)
public byte getType()