public class SpongeMessageBuilder extends java.lang.Object implements MessageBuilder
Constructor and Description |
---|
SpongeMessageBuilder(SpongeCMDSender sender) |
Modifier and Type | Method and Description |
---|---|
MessageBuilder |
addPart(java.lang.String s) |
MessageBuilder |
command(java.lang.String command) |
MessageBuilder |
hover(java.util.Collection<java.lang.String> lines) |
MessageBuilder |
hover(java.lang.String... lines) |
MessageBuilder |
hover(java.lang.String message) |
MessageBuilder |
indent(int amount) |
MessageBuilder |
link(java.lang.String url) |
MessageBuilder |
newLine() |
void |
send() |
MessageBuilder |
tabular(java.lang.CharSequence charSequence) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEach, apply
public SpongeMessageBuilder(SpongeCMDSender sender)
public MessageBuilder addPart(java.lang.String s)
addPart
in interface MessageBuilder
public MessageBuilder newLine()
newLine
in interface MessageBuilder
public MessageBuilder link(java.lang.String url)
link
in interface MessageBuilder
public MessageBuilder command(java.lang.String command)
command
in interface MessageBuilder
public MessageBuilder hover(java.lang.String message)
hover
in interface MessageBuilder
public MessageBuilder hover(java.lang.String... lines)
hover
in interface MessageBuilder
public MessageBuilder hover(java.util.Collection<java.lang.String> lines)
hover
in interface MessageBuilder
public MessageBuilder indent(int amount)
indent
in interface MessageBuilder
public MessageBuilder tabular(java.lang.CharSequence charSequence)
tabular
in interface MessageBuilder
public void send()
send
in interface MessageBuilder