| Constructor and Description |
|---|
TextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
net.md_5.bungee.api.chat.BaseComponent |
build()
Creates the component representing the built text
|
BookUtil.TextBuilder |
color(org.bukkit.ChatColor color)
Sets the color of the text, or takes the previous color (if null is passed)
|
static BookUtil.TextBuilder |
of(String text)
Creates a new TextBuilder with the parameter as his initial text
|
BookUtil.TextBuilder |
style(org.bukkit.ChatColor... style)
Sets the style of the text
|
public BookUtil.TextBuilder color(org.bukkit.ChatColor color)
color - the color of the textpublic BookUtil.TextBuilder style(org.bukkit.ChatColor... style)
style - the style of the textpublic net.md_5.bungee.api.chat.BaseComponent build()
public static BookUtil.TextBuilder of(String text)
text - initial textCopyright © 2017. All rights reserved.