public class Title
extends java.lang.Object
| Constructor and Description |
|---|
Title(java.lang.String title)
Create a new 1.8 title
|
Title(java.lang.String title,
java.lang.String subtitle)
Create a new 1.8 title
|
Title(java.lang.String title,
java.lang.String subtitle,
int fadeInTime,
int stayTime,
int fadeOutTime)
Create a new 1.8 title
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast()
Broadcast the title to all players
|
void |
clearTitle(org.bukkit.entity.Player player)
Clear the title
|
void |
resetTitle(org.bukkit.entity.Player player)
Reset the title settings
|
void |
send(org.bukkit.entity.Player player)
Send the title to a player
|
void |
setFadeInTime(int time)
Set title fade in time
|
void |
setFadeOutTime(int time)
Set title fade out time
|
void |
setStayTime(int time)
Set title stay time
|
void |
setSubtitleColor(org.bukkit.ChatColor color)
Set the subtitle color
|
void |
setTimingsToSeconds()
Set timings to seconds
|
void |
setTimingsToTicks()
Set timings to ticks
|
void |
setTitleColor(org.bukkit.ChatColor color)
Set the title color
|
public Title(java.lang.String title)
title - Titlepublic Title(java.lang.String title,
java.lang.String subtitle)
title - Title textsubtitle - Subtitle textpublic Title(java.lang.String title,
java.lang.String subtitle,
int fadeInTime,
int stayTime,
int fadeOutTime)
title - Title textsubtitle - Subtitle textfadeInTime - Fade in timestayTime - Stay on screen timefadeOutTime - Fade out timepublic void setTitleColor(org.bukkit.ChatColor color)
color - Chat colorpublic void setSubtitleColor(org.bukkit.ChatColor color)
color - Chat colorpublic void setFadeInTime(int time)
time - Timepublic void setFadeOutTime(int time)
time - Timepublic void setStayTime(int time)
time - Timepublic void setTimingsToTicks()
public void setTimingsToSeconds()
public void send(org.bukkit.entity.Player player)
player - Playerpublic void broadcast()
public void clearTitle(org.bukkit.entity.Player player)
player - Playerpublic void resetTitle(org.bukkit.entity.Player player)
player - Player