Index
All Classes and Interfaces|All Packages
A
- AudienceMessages - Class in com.cotani.text
-
Utilities for sending MiniMessage strings and
Components toAudiences.
B
- booleanChoice(String, boolean) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts
trueCasewhen the value istrue, otherwisefalseCase.
C
- choice(String, Number) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts text based on a
ChoiceFormatpattern. - com.cotani.text - package com.cotani.text
- combine(TagResolver...) - Static method in class com.cotani.text.Placeholders
-
Combines multiple tag resolvers into a single resolver.
- compact(Component) - Static method in class com.cotani.text.ComponentTexts
-
Returns a compact copy of the component with redundant style elements and children removed.
- component(String, ComponentLike) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts the given component directly.
- component(Map) - Static method in class com.cotani.text.Placeholders
-
Creates a tag resolver combining multiple component placeholders from a map.
- ComponentSerializers - Class in com.cotani.text
-
Centralizes the standard Adventure component serializers as reusable, immutable singletons.
- ComponentTexts - Class in com.cotani.text
-
Factory and conversion utilities for common
Componentoperations.
D
- date(String, TemporalAccessor) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts a formatted date.
E
- empty() - Static method in class com.cotani.text.ComponentTexts
-
Gets an empty component.
- escape(String) - Static method in class com.cotani.text.MiniMessages
-
Escapes all known MiniMessage tags in the input so they are treated as literal text.
- escape(String, TagResolver...) - Static method in class com.cotani.text.MiniMessages
-
Escapes all known MiniMessage tags, including those provided by custom resolvers.
F
- fromJson(String) - Static method in class com.cotani.text.ComponentTexts
-
Deserializes a component from a JSON string.
- fromLegacy(String) - Static method in class com.cotani.text.ComponentTexts
-
Creates a component from a legacy ampersand (
&) formatted string. - fromLegacySection(String) - Static method in class com.cotani.text.ComponentTexts
-
Creates a component from a legacy section (
§) formatted string. - fromMiniMessage(String) - Static method in class com.cotani.text.ComponentTexts
-
Creates a component from a MiniMessage string.
- fromPlain(String) - Static method in class com.cotani.text.ComponentTexts
-
Creates a component from a plain text string.
G
- GSON - Static variable in class com.cotani.text.ComponentSerializers
-
The standard Gson component serializer for modern Minecraft JSON chat components.
J
- join(ComponentLike, Iterable) - Static method in class com.cotani.text.ComponentTexts
-
Joins multiple components with a separator.
- join(ComponentLike, ComponentLike...) - Static method in class com.cotani.text.ComponentTexts
-
Joins multiple components with a separator.
- joining(String, Iterable) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts a list of components joined together.
- joining(String, ComponentLike...) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts a list of components joined together.
L
- LEGACY_AMPERSAND - Static variable in class com.cotani.text.ComponentSerializers
-
The legacy serializer using the ampersand symbol (
&). - LEGACY_SECTION - Static variable in class com.cotani.text.ComponentSerializers
-
The legacy serializer using the section symbol (
§). - literal(String) - Static method in class com.cotani.text.MiniMessages
-
Creates a literal component from untrusted text without interpreting MiniMessage tags.
M
- MINIMESSAGE - Static variable in class com.cotani.text.ComponentSerializers
-
The default MiniMessage serializer with the standard tag set.
- MiniMessages - Class in com.cotani.text
N
- newline() - Static method in class com.cotani.text.ComponentTexts
-
Gets a component representing a newline.
- number(String, Number) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts a formatted number.
P
- parse(String) - Static method in class com.cotani.text.MiniMessages
-
Parses a trusted MiniMessage template.
- parse(String, Audience, TagResolver...) - Static method in class com.cotani.text.MiniMessages
-
Parses a MiniMessage string into a component for a specific target, applying the given placeholders.
- parse(String, TagResolver...) - Static method in class com.cotani.text.MiniMessages
-
Parses a MiniMessage string into a component, replacing the given placeholders.
- parsed(String, String) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts text and parses any MiniMessage tags it contains.
- parseList(Collection) - Static method in class com.cotani.text.MiniMessages
-
Parses a collection of MiniMessage strings into a list of components using the default tag set.
- parseList(Collection, Audience, TagResolver...) - Static method in class com.cotani.text.MiniMessages
-
Parses a collection of MiniMessage strings into a list of components for a specific target, applying the given placeholders.
- parseList(Collection, TagResolver...) - Static method in class com.cotani.text.MiniMessages
-
Parses a collection of MiniMessage strings into a list of components, replacing the given placeholders.
- Placeholders - Class in com.cotani.text
-
Fluent factory for MiniMessage
TagResolvers used as dynamic placeholders. - PLAIN - Static variable in class com.cotani.text.ComponentSerializers
-
The plain text serializer.
S
- sendActionBar(Audience, String, TagResolver...) - Static method in class com.cotani.text.AudienceMessages
-
Sends a MiniMessage action bar message to the audience.
- sendActionBar(Audience, Component) - Static method in class com.cotani.text.AudienceMessages
-
Sends a Component action bar message to the audience.
- sendMessage(Audience, String, TagResolver...) - Static method in class com.cotani.text.AudienceMessages
-
Sends a MiniMessage chat message to the audience.
- sendMessage(Audience, Component) - Static method in class com.cotani.text.AudienceMessages
-
Sends a Component chat message to the audience.
- sendPlayerListFooter(Audience, String, TagResolver...) - Static method in class com.cotani.text.AudienceMessages
-
Sends a MiniMessage player list footer to the audience.
- sendPlayerListFooter(Audience, Component) - Static method in class com.cotani.text.AudienceMessages
-
Sends a Component player list footer to the audience.
- sendPlayerListHeader(Audience, String, TagResolver...) - Static method in class com.cotani.text.AudienceMessages
-
Sends a MiniMessage player list header to the audience.
- sendPlayerListHeader(Audience, Component) - Static method in class com.cotani.text.AudienceMessages
-
Sends a Component player list header to the audience.
- sendPlayerListHeaderAndFooter(Audience, String, String, TagResolver...) - Static method in class com.cotani.text.AudienceMessages
-
Sends both the player list header and footer to the audience.
- sendPlayerListHeaderAndFooter(Audience, Component, Component) - Static method in class com.cotani.text.AudienceMessages
-
Sends both the player list header and footer components to the audience.
- sendTitle(Audience, String, String, Duration, Duration, Duration, TagResolver...) - Static method in class com.cotani.text.AudienceMessages
-
Sends a MiniMessage title and subtitle to the audience with custom times.
- sendTitle(Audience, String, String, TagResolver...) - Static method in class com.cotani.text.AudienceMessages
-
Sends a MiniMessage title and subtitle to the audience.
- sendTitle(Audience, Component, Component) - Static method in class com.cotani.text.AudienceMessages
-
Sends a Component title and subtitle to the audience.
- sendTitle(Audience, Component, Component, Duration, Duration, Duration) - Static method in class com.cotani.text.AudienceMessages
-
Sends a Component title and subtitle to the audience with custom times.
- serialize(Component) - Static method in class com.cotani.text.MiniMessages
-
Serializes a component into a MiniMessage string.
- serializeList(Collection) - Static method in class com.cotani.text.MiniMessages
-
Serializes a collection of components into a list of MiniMessage strings.
- space() - Static method in class com.cotani.text.ComponentTexts
-
Gets a component representing a single space.
- strip(String) - Static method in class com.cotani.text.MiniMessages
-
Removes all supported MiniMessage tags from the input.
- strip(String, TagResolver...) - Static method in class com.cotani.text.MiniMessages
-
Removes all MiniMessage tags from the input, including those provided by custom resolvers.
- styling(String, StyleBuilderApplicable...) - Static method in class com.cotani.text.Placeholders
-
Creates a styling placeholder that applies the given style to its contents.
T
- text(String) - Static method in class com.cotani.text.ComponentTexts
-
Creates a text component with the given content.
- text(String, TextColor) - Static method in class com.cotani.text.ComponentTexts
-
Creates a text component with the given content and color.
- toJson(Component) - Static method in class com.cotani.text.ComponentTexts
-
Serializes a component to a JSON string.
- toLegacy(Component) - Static method in class com.cotani.text.ComponentTexts
-
Serializes a component to a legacy ampersand (
&) formatted string. - toLegacySection(Component) - Static method in class com.cotani.text.ComponentTexts
-
Serializes a component to a legacy section (
§) formatted string. - toMiniMessage(Component) - Static method in class com.cotani.text.ComponentTexts
-
Serializes a component to a MiniMessage string.
- toPlain(Component) - Static method in class com.cotani.text.ComponentTexts
-
Serializes a component to plain text.
U
- unparsed(String, String) - Static method in class com.cotani.text.Placeholders
-
Creates a placeholder that inserts raw text without parsing MiniMessage tags inside it.
- unparsed(Map) - Static method in class com.cotani.text.Placeholders
-
Creates a tag resolver combining multiple unparsed text placeholders from a map.
W
- withoutDecoration(Collection, TextDecoration) - Static method in class com.cotani.text.ComponentTexts
-
Returns an unmodifiable list of components with the given decoration explicitly disabled.
- withoutDecoration(Component, TextDecoration) - Static method in class com.cotani.text.ComponentTexts
-
Returns a copy of the component with the given decoration explicitly disabled.
- withoutItalics(Collection) - Static method in class com.cotani.text.ComponentTexts
-
Returns an unmodifiable list of components with italic decoration explicitly disabled.
- withoutItalics(Component) - Static method in class com.cotani.text.ComponentTexts
-
Returns a copy of the component with italic decoration explicitly disabled.
All Classes and Interfaces|All Packages