Class Titles
- java.lang.Object
-
- com.velocitypowered.api.util.title.Titles
-
@Deprecated public final class Titles extends Object
Deprecated.Replaced withTitle
Provides special-purpose titles.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Title
hide()
Deprecated.Returns a title that, when sent to the client, will cause any existing title to be hidden.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.static TextTitle.Builder
text()
Deprecated.Returns a builder forTextTitle
s.
-
-
-
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 aTextTitle
with no title or subtitle (only a time).- Returns:
- the hide title
-
text
public static TextTitle.Builder text()
Deprecated.Returns a builder forTextTitle
s.- Returns:
- a builder for text titles
-
-