Interface | Description |
---|---|
TextFactory |
Represents the required implementation for the static methods in
Texts . |
TextRepresentable | |
TextRepresentation |
Interface for a certain representation of a Text object.
|
Class | Description |
---|---|
Text |
Represents an immutable instance of formatted text that can be displayed on
the client.
|
Text.Literal | |
Text.Placeholder |
Represents a
Text placeholder that can be replaced with another
Text by Texts.format(Text, Map) . |
Text.Score |
Represents a
Text displaying the current score of a player. |
Text.Selector |
Represents a
Text containing a selector that will be replaced by
the names of the matching entities on the client. |
Text.Translatable |
Represents a
Text containing a Translation identifier
that gets translated into the current locale on the client. |
TextBuilder |
Represents a builder class to create immutable
Text instances. |
TextBuilder.Literal |
Represents a
TextBuilder creating immutable Text.Literal
instances. |
TextBuilder.Placeholder |
Represents a
TextBuilder creating immutable
Text.Placeholder instances. |
TextBuilder.Score |
Represents a
TextBuilder creating immutable Text.Score
instances. |
TextBuilder.Selector |
Represents a
TextBuilder creating immutable Text.Selector
instances. |
TextBuilder.Translatable |
Represents a
TextBuilder creating immutable
Text.Translatable instances. |
TextPlainComparator |
Represents a comparator for
Text that works based on the plain version of that text,
or the best string representation that text can have using Texts.toPlain(Text) . |
Texts |
Utility class to work with and create
Text . |