public class ClientChatReceivedEvent extends Event
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private ITextComponent |
message |
private ChatType |
type |
Constructor and Description |
---|
ClientChatReceivedEvent(ChatType type,
ITextComponent message) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getMessage() |
ChatType |
getType() |
void |
setMessage(ITextComponent message) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private ITextComponent message
private final ChatType type
public ClientChatReceivedEvent(ChatType type, ITextComponent message)
public ITextComponent getMessage()
public void setMessage(ITextComponent message)
public ChatType getType()