Title@Deprecated public final class TextTitle extends Object implements Title
| Modifier and Type | Class and Description |
|---|---|
static class |
TextTitle.Builder
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areTimesSet()
Deprecated.
Determines whether or not this title has times set on it.
|
static TextTitle.Builder |
builder()
Deprecated.
Creates a new builder for constructing titles.
|
boolean |
equals(@Nullable Object o)
Deprecated.
|
int |
getFadeIn()
Deprecated.
Returns the number of ticks over which this title will fade in.
|
int |
getFadeOut()
Deprecated.
Returns the number of ticks over which this title will fade out.
|
int |
getStay()
Deprecated.
Returns the number of ticks this title will stay up.
|
Optional<net.kyori.text.Component> |
getSubtitle()
Deprecated.
Returns the subtitle this title has, if any.
|
Optional<net.kyori.text.Component> |
getTitle()
Deprecated.
Returns the main title this title has, if any.
|
int |
hashCode()
Deprecated.
|
boolean |
isResetBeforeSend()
Deprecated.
Returns whether or not a reset packet will be sent before this title is sent.
|
TextTitle.Builder |
toBuilder()
Deprecated.
Creates a new builder from the contents of this title so that it may be changed.
|
String |
toString()
Deprecated.
|
public Optional<net.kyori.text.Component> getTitle()
public Optional<net.kyori.text.Component> getSubtitle()
public int getStay()
public int getFadeIn()
public int getFadeOut()
public boolean isResetBeforeSend()
public boolean areTimesSet()
public TextTitle.Builder toBuilder()
public static TextTitle.Builder builder()