Class Titles
- java.lang.Object
-
- com.velocitypowered.api.util.title.Titles
-
@Deprecated public final class Titles extends Object
Deprecated.Replaced withTitleProvides special-purpose titles.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Titlehide()Deprecated.Returns a title that, when sent to the client, will cause any existing title to be hidden.static Titlereset()Deprecated.Returns a title that, when sent to the client, will cause all title data to be reset and any existing title to be hidden.static TextTitle.Buildertext()Deprecated.Returns a builder forTextTitles.
-
-
-
Method Detail
-
reset
public static Title reset()
Deprecated.Returns a title that, when sent to the client, will cause all title data to be reset and any existing title to be hidden.- Returns:
- the reset title
-
hide
public static Title hide()
Deprecated.Returns a title that, when sent to the client, will cause any existing title to be hidden. The title may be restored by aTextTitlewith no title or subtitle (only a time).- Returns:
- the hide title
-
text
public static TextTitle.Builder text()
Deprecated.Returns a builder forTextTitles.- Returns:
- a builder for text titles
-
-