public class MessageBuilder
extends java.lang.Object
JSONChatBuilder
Constructor and Description |
---|
MessageBuilder() |
Modifier and Type | Method and Description |
---|---|
MessageBuilder |
addBaseComponent(net.md_5.bungee.api.chat.BaseComponent[] bc)
Add a base component to the message
|
MessageBuilder |
addJSON(JSONChatBuilder json)
Add a JSONChatBuilder to the message
|
MessageBuilder |
addString(java.lang.String s)
Add a string to the message
|
net.md_5.bungee.api.chat.BaseComponent[] |
build() |
public MessageBuilder addJSON(JSONChatBuilder json)
json
- the JSONChatBuilder to addpublic MessageBuilder addString(java.lang.String s)
s
- the string to addpublic MessageBuilder addBaseComponent(net.md_5.bungee.api.chat.BaseComponent[] bc)
bc
- the component to addpublic net.md_5.bungee.api.chat.BaseComponent[] build()