public class TitleBuilder extends TellRawMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
TitleBuilder.TitleType |
TellRawMessage.ClickAction, TellRawMessage.HoverAction| Constructor and Description |
|---|
TitleBuilder(int fadeIn,
int stay,
int fadeOut)
Creates a new TitleBuilder Instance with the given timings
|
| Modifier and Type | Method and Description |
|---|---|
void |
send(TitleBuilder.TitleType type,
org.bukkit.entity.Player... players)
Sends Title to the specified
Players
|
addClickEvent, addHoverEvent, addText, addTranslation, build, color, sendpublic TitleBuilder(int fadeIn,
int stay,
int fadeOut)
fadeIn - The Time it takes to fade in (in Ticks)stay - The Time it stays on the Screen (in Ticks)fadeOut - The Time it takes to fade out (in Ticks)public void send(TitleBuilder.TitleType type, org.bukkit.entity.Player... players) throws java.lang.Exception
players - All Players who should receive the Titlejava.lang.Exception