Skip navigation links
A B C D E F G H I J K L M N O P R S T U V 

A

AbstractBuildableComponent<C extends BuildableComponent<C,B>,B extends AbstractBuildableComponent.AbstractBuilder<C,B>> - Class in net.kyori.text
An abstract implementation of a buildable component.
AbstractBuildableComponent(B) - Constructor for class net.kyori.text.AbstractBuildableComponent
 
AbstractBuildableComponent(List<Component>, TextColor, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, ClickEvent, HoverEvent, String) - Constructor for class net.kyori.text.AbstractBuildableComponent
 
AbstractBuildableComponent.AbstractBuilder<C extends BuildableComponent<C,B>,B extends AbstractBuildableComponent.AbstractBuilder<C,B>> - Class in net.kyori.text
An abstract implementation of a component builder.
AbstractBuilder() - Constructor for class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
AbstractBuilder(C) - Constructor for class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
AbstractComponent - Class in net.kyori.text
An abstract implementation of a text component.
AbstractComponent(List<Component>, TextColor, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, ClickEvent, HoverEvent, String) - Constructor for class net.kyori.text.AbstractComponent
 
action() - Method in class net.kyori.text.event.ClickEvent
Gets the click event action.
action() - Method in class net.kyori.text.event.HoverEvent
Gets the hover event action.
append(Component) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
append(Iterable<? extends Component>) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
append(Component) - Method in interface net.kyori.text.BuildableComponent.Builder
Appends a component to this component.
append(Iterable<? extends Component>) - Method in interface net.kyori.text.BuildableComponent.Builder
Appends components to this component.
append(Component) - Method in interface net.kyori.text.Component
Appends a component to this component.
append(Component) - Method in class net.kyori.text.KeybindComponent
 
append(Component) - Method in class net.kyori.text.ScoreComponent
 
append(Component) - Method in class net.kyori.text.SelectorComponent
 
append(Component) - Method in class net.kyori.text.TextComponent
 
append(Component) - Method in class net.kyori.text.TranslatableComponent
 
apply(Consumer<BuildableComponent.Builder<?, ?>>) - Method in interface net.kyori.text.BuildableComponent.Builder
Applies an action to this builder.
applyDeep(Consumer<BuildableComponent.Builder<?, ?>>) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
applyDeep(Consumer<BuildableComponent.Builder<?, ?>>) - Method in interface net.kyori.text.BuildableComponent.Builder
Applies an action to this component and all child components if they are an instance of BuildableComponent.
args() - Method in class net.kyori.text.TranslatableComponent
Gets the unmodifiable list of translation arguments.
args(List<Component>) - Method in class net.kyori.text.TranslatableComponent
Sets the translation arguments for this component.
args(Component...) - Method in class net.kyori.text.TranslatableComponent.Builder
Sets the translation args.
args(List<Component>) - Method in class net.kyori.text.TranslatableComponent.Builder
Sets the translation args.

B

bold - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
If this component should have the bold decoration.
bold - Variable in class net.kyori.text.AbstractComponent
If this component should have the bold decoration.
build() - Method in interface net.kyori.text.BuildableComponent.Builder
Build a component.
build() - Method in class net.kyori.text.KeybindComponent.Builder
 
build() - Method in class net.kyori.text.ScoreComponent.Builder
 
build() - Method in class net.kyori.text.SelectorComponent.Builder
 
build() - Method in class net.kyori.text.TextComponent.Builder
 
build() - Method in class net.kyori.text.TranslatableComponent.Builder
 
BuildableComponent<C extends BuildableComponent<C,B>,B extends BuildableComponent.Builder<C,B>> - Interface in net.kyori.text
A component which may be built.
BuildableComponent.Builder<C extends BuildableComponent,B extends BuildableComponent.Builder<C,B>> - Interface in net.kyori.text
A component builder.
builder() - Static method in class net.kyori.text.KeybindComponent
Creates a keybind component builder.
builder(String) - Static method in class net.kyori.text.KeybindComponent
Creates a keybind component builder with a keybind.
builder() - Static method in class net.kyori.text.ScoreComponent
Creates a score component builder.
builder(String, String) - Static method in class net.kyori.text.ScoreComponent
Creates a score component builder with a name and objective.
builder() - Static method in class net.kyori.text.SelectorComponent
Creates a selector component builder.
builder(String) - Static method in class net.kyori.text.SelectorComponent
Creates a selector component builder with a pattern.
builder() - Static method in class net.kyori.text.TextComponent
Creates a text component builder.
builder(String) - Static method in class net.kyori.text.TextComponent
Creates a text component builder with content.
builder() - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component builder.
builder(String) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component builder with a translation key.
byBoolean(boolean) - Static method in enum net.kyori.text.format.TextDecoration.State
Gets a state from a boolean.
byBoolean(Boolean) - Static method in enum net.kyori.text.format.TextDecoration.State
Gets a state from a Boolean.

C

CHARACTER - Static variable in interface net.kyori.text.serializer.LegacyComponentSerializer
Deprecated.
legacy
children - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
The list of children.
children - Variable in class net.kyori.text.AbstractComponent
The list of children.
children() - Method in class net.kyori.text.AbstractComponent
 
children() - Method in interface net.kyori.text.Component
Gets the unmodifiable list of children.
clickEvent - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
The click event to apply to this component.
clickEvent(ClickEvent) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
clickEvent - Variable in class net.kyori.text.AbstractComponent
The click event to apply to this component.
clickEvent() - Method in class net.kyori.text.AbstractComponent
 
clickEvent(ClickEvent) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the click event of this component.
clickEvent() - Method in interface net.kyori.text.Component
Gets the click event of this component.
clickEvent(ClickEvent) - Method in interface net.kyori.text.Component
Sets the click event of this component.
ClickEvent - Class in net.kyori.text.event
A click event.
ClickEvent(ClickEvent.Action, String) - Constructor for class net.kyori.text.event.ClickEvent
 
clickEvent(ClickEvent) - Method in class net.kyori.text.KeybindComponent
 
clickEvent(ClickEvent) - Method in class net.kyori.text.ScoreComponent
 
clickEvent(ClickEvent) - Method in class net.kyori.text.SelectorComponent
 
clickEvent(ClickEvent) - Method in class net.kyori.text.TextComponent
 
clickEvent(ClickEvent) - Method in class net.kyori.text.TranslatableComponent
 
ClickEvent.Action - Enum in net.kyori.text.event
An enumeration of click event actions.
color - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
The color of this component.
color(TextColor) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
color - Variable in class net.kyori.text.AbstractComponent
The color of this component.
color() - Method in class net.kyori.text.AbstractComponent
 
color(TextColor) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the color of this component.
color() - Method in interface net.kyori.text.Component
Gets the color of this component.
color(TextColor) - Method in interface net.kyori.text.Component
Sets the color of this component.
color(TextColor) - Method in class net.kyori.text.KeybindComponent
 
color(TextColor) - Method in class net.kyori.text.ScoreComponent
 
color(TextColor) - Method in class net.kyori.text.SelectorComponent
 
color(TextColor) - Method in class net.kyori.text.TextComponent
 
color(TextColor) - Method in class net.kyori.text.TranslatableComponent
 
colorIfAbsent(TextColor) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
colorIfAbsent(TextColor) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the color of this component if there isn't one set already.
Component - Interface in net.kyori.text
A text component.
ComponentRenderer<C extends ComponentRenderer.Context> - Interface in net.kyori.text.renderer
A component renderer.
ComponentRenderer.Context - Interface in net.kyori.text.renderer
A component renderer context.
Components - Interface in net.kyori.text
 
ComponentSerializer<I extends Component,O extends Component,R> - Interface in net.kyori.text.serializer
A Component serializer and deserializer.
ComponentSerializers - Class in net.kyori.text.serializer
A collection of component serializers.
contains(Component) - Method in interface net.kyori.text.Component
Checks if this component contains a component.
content(String) - Method in class net.kyori.text.ScoreComponent
Sets the value.
content(String) - Method in class net.kyori.text.TextComponent.Builder
Sets the plain text content.
content() - Method in class net.kyori.text.TextComponent
Gets the plain text content.
content(String) - Method in class net.kyori.text.TextComponent
Sets the plain text content.
copy() - Method in interface net.kyori.text.Component
Creates a component.
copy() - Method in class net.kyori.text.event.ClickEvent
Creates a copy of this click event.
copy() - Method in class net.kyori.text.event.HoverEvent
Creates a copy of this hover event.
copy() - Method in class net.kyori.text.KeybindComponent
 
copy() - Method in class net.kyori.text.ScoreComponent
 
copy() - Method in class net.kyori.text.SelectorComponent
 
copy() - Method in class net.kyori.text.TextComponent
 
copy() - Method in class net.kyori.text.TranslatableComponent
 

D

decoration(TextDecoration, TextDecoration.State) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
decoration(TextDecoration) - Method in class net.kyori.text.AbstractComponent
 
decoration(TextDecoration, boolean) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the state of a decoration on this component.
decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the value of a decoration on this component.
decoration(TextDecoration) - Method in interface net.kyori.text.Component
Gets the state of a decoration on this component.
decoration(TextDecoration, boolean) - Method in interface net.kyori.text.Component
Sets the state of a decoration on this component.
decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.text.Component
Sets the value of a decoration on this component.
decoration(TextDecoration, boolean) - Method in class net.kyori.text.KeybindComponent
 
decoration(TextDecoration, TextDecoration.State) - Method in class net.kyori.text.KeybindComponent
 
decoration(TextDecoration, boolean) - Method in class net.kyori.text.ScoreComponent
 
decoration(TextDecoration, TextDecoration.State) - Method in class net.kyori.text.ScoreComponent
 
decoration(TextDecoration, boolean) - Method in class net.kyori.text.SelectorComponent
 
decoration(TextDecoration, TextDecoration.State) - Method in class net.kyori.text.SelectorComponent
 
decoration(TextDecoration, boolean) - Method in class net.kyori.text.TextComponent
 
decoration(TextDecoration, TextDecoration.State) - Method in class net.kyori.text.TextComponent
 
decoration(TextDecoration, boolean) - Method in class net.kyori.text.TranslatableComponent
 
decoration(TextDecoration, TextDecoration.State) - Method in class net.kyori.text.TranslatableComponent
 
decorations(Set<TextDecoration>, boolean) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the state of a set of decorations to flag on this component.
decorations() - Method in interface net.kyori.text.Component
Gets a set of decorations this component has.
decorations(Set<TextDecoration>) - Method in interface net.kyori.text.Component
Gets a set of decorations this component has.
deserialize(R) - Method in interface net.kyori.text.serializer.ComponentSerializer
Deserialize a component from input of type R.
deserialize(String) - Method in class net.kyori.text.serializer.GsonComponentSerializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.kyori.text.serializer.GsonComponentSerializer
 
deserialize(String) - Method in interface net.kyori.text.serializer.LegacyComponentSerializer
Deprecated.
legacy
deserialize(String, char) - Method in interface net.kyori.text.serializer.LegacyComponentSerializer
Deprecated.
legacy
deserialize(String) - Method in class net.kyori.text.serializer.PlainComponentSerializer
Deprecated.
 
detectCycle(Component) - Method in interface net.kyori.text.Component
Prevents a cycle between this component and the provided component.

E

empty() - Static method in interface net.kyori.text.Components
Gets an immutable component with empty content.
EMPTY_COMPONENT_LIST - Static variable in interface net.kyori.text.Component
An empty, unmodifiable, list of components.
equals(Object) - Method in class net.kyori.text.AbstractComponent
 
equals(AbstractComponent) - Method in class net.kyori.text.AbstractComponent
 
equals(Object) - Method in class net.kyori.text.event.ClickEvent
 
equals(Object) - Method in class net.kyori.text.event.HoverEvent
 
equals(Object) - Method in class net.kyori.text.KeybindComponent
 
equals(Object) - Method in class net.kyori.text.ScoreComponent
 
equals(Object) - Method in class net.kyori.text.SelectorComponent
 
equals(Object) - Method in class net.kyori.text.TextComponent
 
equals(Object) - Method in class net.kyori.text.TranslatableComponent
 

F

FriendlyComponentRenderer<C extends ComponentRenderer.Context> - Class in net.kyori.text.renderer
A friendly component renderer.
FriendlyComponentRenderer() - Constructor for class net.kyori.text.renderer.FriendlyComponentRenderer
 
from(BiFunction<Locale, String, MessageFormat>) - Static method in class net.kyori.text.renderer.FriendlyComponentRenderer
 

G

GsonComponentSerializer - Class in net.kyori.text.serializer
 
GsonComponentSerializer() - Constructor for class net.kyori.text.serializer.GsonComponentSerializer
 

H

hasDecoration(TextDecoration) - Method in interface net.kyori.text.Component
Tests if this component has a decoration.
hashCode() - Method in class net.kyori.text.AbstractComponent
 
hashCode() - Method in class net.kyori.text.event.ClickEvent
 
hashCode() - Method in class net.kyori.text.event.HoverEvent
 
hashCode() - Method in class net.kyori.text.KeybindComponent
 
hashCode() - Method in class net.kyori.text.ScoreComponent
 
hashCode() - Method in class net.kyori.text.SelectorComponent
 
hashCode() - Method in class net.kyori.text.TextComponent
 
hashCode() - Method in class net.kyori.text.TranslatableComponent
 
hasStyling() - Method in class net.kyori.text.AbstractComponent
 
hasStyling() - Method in interface net.kyori.text.Component
Tests if this component has any styling.
hoverEvent - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
The hover event to apply to this component.
hoverEvent(HoverEvent) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
hoverEvent - Variable in class net.kyori.text.AbstractComponent
The hover event to apply to this component.
hoverEvent() - Method in class net.kyori.text.AbstractComponent
 
hoverEvent(HoverEvent) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the hover event of this component.
hoverEvent() - Method in interface net.kyori.text.Component
Gets the hover event of this component.
hoverEvent(HoverEvent) - Method in interface net.kyori.text.Component
Sets the hover event of this component.
HoverEvent - Class in net.kyori.text.event
A hover event.
HoverEvent(HoverEvent.Action, Component) - Constructor for class net.kyori.text.event.HoverEvent
 
hoverEvent(HoverEvent) - Method in class net.kyori.text.KeybindComponent
 
hoverEvent(HoverEvent) - Method in class net.kyori.text.ScoreComponent
 
hoverEvent(HoverEvent) - Method in class net.kyori.text.SelectorComponent
 
hoverEvent(HoverEvent) - Method in class net.kyori.text.TextComponent
 
hoverEvent(HoverEvent) - Method in class net.kyori.text.TranslatableComponent
 
HoverEvent.Action - Enum in net.kyori.text.event
An enumeration of hover event actions.

I

insertion - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
The string to insert when this component is shift-clicked in chat.
insertion(String) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
insertion - Variable in class net.kyori.text.AbstractComponent
The string to insert when this component is shift-clicked in chat.
insertion() - Method in class net.kyori.text.AbstractComponent
 
insertion(String) - Method in interface net.kyori.text.BuildableComponent.Builder
Sets the string to be inserted when this component is shift-clicked.
insertion() - Method in interface net.kyori.text.Component
Gets the string to be inserted when this component is shift-clicked.
insertion(String) - Method in interface net.kyori.text.Component
Sets the string to be inserted when this component is shift-clicked.
insertion(String) - Method in class net.kyori.text.KeybindComponent
 
insertion(String) - Method in class net.kyori.text.ScoreComponent
 
insertion(String) - Method in class net.kyori.text.SelectorComponent
 
insertion(String) - Method in class net.kyori.text.TextComponent
 
insertion(String) - Method in class net.kyori.text.TranslatableComponent
 
isReadable() - Method in enum net.kyori.text.event.ClickEvent.Action
isReadable() - Method in enum net.kyori.text.event.HoverEvent.Action
italic - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
If this component should have the italic decoration.
italic - Variable in class net.kyori.text.AbstractComponent
If this component should have the italic decoration.

J

JSON - Static variable in class net.kyori.text.serializer.ComponentSerializers
A component serializer for JSON-based serialization and deserialization.

K

key(String) - Method in class net.kyori.text.TranslatableComponent.Builder
Sets the translation key.
key() - Method in class net.kyori.text.TranslatableComponent
Gets the translation key.
key(String) - Method in class net.kyori.text.TranslatableComponent
Sets the translation key.
keybind(String) - Method in class net.kyori.text.KeybindComponent.Builder
Sets the keybind.
keybind() - Method in class net.kyori.text.KeybindComponent
Gets the keybind.
keybind(String) - Method in class net.kyori.text.KeybindComponent
Sets the keybind.
KeybindComponent - Class in net.kyori.text
 
KeybindComponent(KeybindComponent.Builder) - Constructor for class net.kyori.text.KeybindComponent
 
KeybindComponent(List<Component>, TextColor, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, ClickEvent, HoverEvent, String, String) - Constructor for class net.kyori.text.KeybindComponent
 
KeybindComponent.Builder - Class in net.kyori.text
A keybind component builder.

L

legacy() - Method in enum net.kyori.text.format.TextColor
Deprecated.
legacy() - Method in enum net.kyori.text.format.TextDecoration
Deprecated.
legacy() - Method in interface net.kyori.text.format.TextFormat
Deprecated.
legacy
LEGACY - Static variable in class net.kyori.text.serializer.ComponentSerializers
Deprecated.
legacy
LegacyComponentSerializer - Interface in net.kyori.text.serializer
Deprecated.
legacy
locale() - Method in interface net.kyori.text.renderer.ComponentRenderer.Context
Gets the locale.

M

make(Consumer<KeybindComponent.Builder>) - Static method in class net.kyori.text.KeybindComponent
Creates a keybind component by applying configuration from consumer.
make(String, Consumer<KeybindComponent.Builder>) - Static method in class net.kyori.text.KeybindComponent
Creates a keybind component by applying configuration from consumer.
make(Consumer<TextComponent.Builder>) - Static method in class net.kyori.text.TextComponent
Creates a text component by applying configuration from consumer.
make(String, Consumer<TextComponent.Builder>) - Static method in class net.kyori.text.TextComponent
Creates a text component by applying configuration from consumer.
make(Consumer<TranslatableComponent.Builder>) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component by applying configuration from consumer.
make(String, Consumer<TranslatableComponent.Builder>) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component by applying configuration from consumer.
make(String, List<Component>, Consumer<TranslatableComponent.Builder>) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component by applying configuration from consumer.
mapChildren(Function<BuildableComponent<?, ?>, BuildableComponent<?, ?>>) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
mapChildren(Function<BuildableComponent<?, ?>, BuildableComponent<?, ?>>) - Method in interface net.kyori.text.BuildableComponent.Builder
Replaces each child of this component with the resultant component from the function.
mapChildrenDeep(Function<BuildableComponent<?, ?>, BuildableComponent<?, ?>>) - Method in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
 
mapChildrenDeep(Function<BuildableComponent<?, ?>, BuildableComponent<?, ?>>) - Method in interface net.kyori.text.BuildableComponent.Builder
Replaces each child and sub-child of this component with the resultant component of the function.
mergeColor(Component) - Method in interface net.kyori.text.BuildableComponent.Builder
Merges the color from another component into this component.
mergeColor(Component) - Method in interface net.kyori.text.Component
Merges the color from another component into this component.
mergeColor(Component) - Method in class net.kyori.text.KeybindComponent
 
mergeColor(Component) - Method in class net.kyori.text.ScoreComponent
 
mergeColor(Component) - Method in class net.kyori.text.SelectorComponent
 
mergeColor(Component) - Method in class net.kyori.text.TextComponent
 
mergeColor(Component) - Method in class net.kyori.text.TranslatableComponent
 
mergeDecorations(Component) - Method in interface net.kyori.text.BuildableComponent.Builder
Merges the decorations from another component into this component.
mergeDecorations(Component) - Method in interface net.kyori.text.Component
Merges the decorations from another component into this component.
mergeDecorations(Component) - Method in class net.kyori.text.KeybindComponent
 
mergeDecorations(Component) - Method in class net.kyori.text.ScoreComponent
 
mergeDecorations(Component) - Method in class net.kyori.text.SelectorComponent
 
mergeDecorations(Component) - Method in class net.kyori.text.TextComponent
 
mergeDecorations(Component) - Method in class net.kyori.text.TranslatableComponent
 
mergeEvents(Component) - Method in interface net.kyori.text.BuildableComponent.Builder
Merges the events from another component into this component.
mergeEvents(Component) - Method in interface net.kyori.text.Component
Merges the events from another component into this component.
mergeEvents(Component) - Method in class net.kyori.text.KeybindComponent
 
mergeEvents(Component) - Method in class net.kyori.text.ScoreComponent
 
mergeEvents(Component) - Method in class net.kyori.text.SelectorComponent
 
mergeEvents(Component) - Method in class net.kyori.text.TextComponent
 
mergeEvents(Component) - Method in class net.kyori.text.TranslatableComponent
 
mergeStyle(Component) - Method in interface net.kyori.text.BuildableComponent.Builder
Merges styling from another component into this component.
mergeStyle(Component) - Method in interface net.kyori.text.Component
Merges styling from another component into this component.
mergeStyle(Component) - Method in class net.kyori.text.KeybindComponent
 
mergeStyle(Component) - Method in class net.kyori.text.ScoreComponent
 
mergeStyle(Component) - Method in class net.kyori.text.SelectorComponent
 
mergeStyle(Component) - Method in class net.kyori.text.TextComponent
 
mergeStyle(Component) - Method in class net.kyori.text.TranslatableComponent
 

N

name(String) - Method in class net.kyori.text.ScoreComponent.Builder
Sets the score name.
name() - Method in class net.kyori.text.ScoreComponent
Gets the score name.
name(String) - Method in class net.kyori.text.ScoreComponent
Sets the score name.
net.kyori.text - package net.kyori.text
 
net.kyori.text.event - package net.kyori.text.event
 
net.kyori.text.format - package net.kyori.text.format
 
net.kyori.text.renderer - package net.kyori.text.renderer
 
net.kyori.text.serializer - package net.kyori.text.serializer
 
newline() - Static method in interface net.kyori.text.Components
Gets an immutable component with a new line character as the content.

O

obfuscated - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
If this component should have the obfuscated decoration.
obfuscated - Variable in class net.kyori.text.AbstractComponent
If this component should have the obfuscated decoration.
objective(String) - Method in class net.kyori.text.ScoreComponent.Builder
Sets the score objective.
objective() - Method in class net.kyori.text.ScoreComponent
Gets the objective name.
objective(String) - Method in class net.kyori.text.ScoreComponent
Sets the score objective.
of(boolean) - Static method in interface net.kyori.text.Component
Creates a text component with the content of String.valueOf(boolean).
of(char) - Static method in interface net.kyori.text.Component
Creates a text component with the content of String.valueOf(char).
of(double) - Static method in interface net.kyori.text.Component
Creates a text component with the content of String.valueOf(double).
of(float) - Static method in interface net.kyori.text.Component
Creates a text component with the content of String.valueOf(float).
of(int) - Static method in interface net.kyori.text.Component
Creates a text component with the content of String.valueOf(int).
of(long) - Static method in interface net.kyori.text.Component
Creates a text component with the content of String.valueOf(long).
of(String) - Static method in class net.kyori.text.KeybindComponent
Creates a keybind component with a keybind.
of(String, TextColor) - Static method in class net.kyori.text.KeybindComponent
Creates a keybind component with content, and optional color.
of(String, TextColor, Set<TextDecoration>) - Static method in class net.kyori.text.KeybindComponent
Creates a keybind component with content, and optional color and decorations.
of(String, String) - Static method in class net.kyori.text.ScoreComponent
Creates a score component with a name and objective.
of(String, String, String) - Static method in class net.kyori.text.ScoreComponent
Creates a score component with a name, objective, and optional value.
of(String) - Static method in class net.kyori.text.SelectorComponent
Creates a selector component with a pattern.
of(String) - Static method in class net.kyori.text.TextComponent
Creates a text component with content.
of(String, TextColor) - Static method in class net.kyori.text.TextComponent
Creates a text component with content, and optional color.
of(String, TextColor, Set<TextDecoration>) - Static method in class net.kyori.text.TextComponent
Creates a text component with content, and optional color and decorations.
of(String) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key.
of(String, TextColor) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key.
of(String, TextColor, Set<TextDecoration>) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key.
of(String, Component...) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key and arguments.
of(String, TextColor, Component...) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key and arguments.
of(String, TextColor, Set<TextDecoration>, Component...) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key and arguments.
of(String, List<Component>) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key and arguments.
of(String, TextColor, List<Component>) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key and arguments.
of(String, TextColor, Set<TextDecoration>, List<Component>) - Static method in class net.kyori.text.TranslatableComponent
Creates a translatable component with a translation key and arguments.

P

pattern(String) - Method in class net.kyori.text.SelectorComponent.Builder
Sets the selector pattern.
pattern() - Method in class net.kyori.text.SelectorComponent
Gets the selector pattern.
pattern(String) - Method in class net.kyori.text.SelectorComponent
Sets the selector pattern.
PLAIN - Static variable in class net.kyori.text.serializer.ComponentSerializers
Deprecated.
not recommended for general use
PlainComponentSerializer - Class in net.kyori.text.serializer
Deprecated.
not recommended for general use
PlainComponentSerializer() - Constructor for class net.kyori.text.serializer.PlainComponentSerializer
Deprecated.
 
PlainComponentSerializer(Function<KeybindComponent, String>, Function<TranslatableComponent, String>) - Constructor for class net.kyori.text.serializer.PlainComponentSerializer
Deprecated.
 
populateToString(MoreObjects.ToStringHelper) - Method in class net.kyori.text.AbstractComponent
 
populateToString(MoreObjects.ToStringHelper) - Method in class net.kyori.text.KeybindComponent
 
populateToString(MoreObjects.ToStringHelper) - Method in class net.kyori.text.ScoreComponent
 
populateToString(MoreObjects.ToStringHelper) - Method in class net.kyori.text.SelectorComponent
 
populateToString(MoreObjects.ToStringHelper) - Method in class net.kyori.text.TextComponent
 
populateToString(MoreObjects.ToStringHelper) - Method in class net.kyori.text.TranslatableComponent
 

R

readable() - Method in enum net.kyori.text.event.ClickEvent.Action
Tests if this action is readable.
readable() - Method in enum net.kyori.text.event.HoverEvent.Action
Tests if this action is readable.
render(Component, C) - Method in interface net.kyori.text.renderer.ComponentRenderer
Renders a component.
render(Component, C) - Method in class net.kyori.text.renderer.FriendlyComponentRenderer
 
resetStyle() - Method in interface net.kyori.text.BuildableComponent.Builder
Resets all styling on this component.
resetStyle() - Method in interface net.kyori.text.Component
Resets all styling on this component.
resetStyle() - Method in class net.kyori.text.KeybindComponent
 
resetStyle() - Method in class net.kyori.text.ScoreComponent
 
resetStyle() - Method in class net.kyori.text.SelectorComponent
 
resetStyle() - Method in class net.kyori.text.TextComponent
 
resetStyle() - Method in class net.kyori.text.TranslatableComponent
 

S

ScoreComponent - Class in net.kyori.text
A scoreboard score component.
ScoreComponent(ScoreComponent.Builder) - Constructor for class net.kyori.text.ScoreComponent
 
ScoreComponent(List<Component>, TextColor, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, ClickEvent, HoverEvent, String, String, String, String) - Constructor for class net.kyori.text.ScoreComponent
 
ScoreComponent.Builder - Class in net.kyori.text
A score component builder.
SelectorComponent - Class in net.kyori.text
A scoreboard selector component.
SelectorComponent(SelectorComponent.Builder) - Constructor for class net.kyori.text.SelectorComponent
 
SelectorComponent(List<Component>, TextColor, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, ClickEvent, HoverEvent, String, String) - Constructor for class net.kyori.text.SelectorComponent
 
SelectorComponent.Builder - Class in net.kyori.text
A selector component builder.
serialize(I) - Method in interface net.kyori.text.serializer.ComponentSerializer
Serializes a component into an output of type R.
serialize(Component) - Method in class net.kyori.text.serializer.GsonComponentSerializer
 
serialize(Component, Type, JsonSerializationContext) - Method in class net.kyori.text.serializer.GsonComponentSerializer
 
serialize(Component) - Method in interface net.kyori.text.serializer.LegacyComponentSerializer
Deprecated.
legacy
serialize(Component, char) - Method in interface net.kyori.text.serializer.LegacyComponentSerializer
Deprecated.
legacy
serialize(Component) - Method in class net.kyori.text.serializer.PlainComponentSerializer
Deprecated.
 
serialize(StringBuilder, Component) - Method in class net.kyori.text.serializer.PlainComponentSerializer
Deprecated.
 
space() - Static method in interface net.kyori.text.Components
Gets an immutable component with a single space as the content.
strikethrough - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
If this component should have the strikethrough decoration.
strikethrough - Variable in class net.kyori.text.AbstractComponent
If this component should have the strikethrough decoration.

T

TextColor - Enum in net.kyori.text.format
An enumeration of colors which may be applied to a Component.
TextComponent - Class in net.kyori.text
A plain text component.
TextComponent(TextComponent.Builder) - Constructor for class net.kyori.text.TextComponent
 
TextComponent(List<Component>, TextColor, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, ClickEvent, HoverEvent, String, String) - Constructor for class net.kyori.text.TextComponent
 
TextComponent.Builder - Class in net.kyori.text
A text component builder.
TextDecoration - Enum in net.kyori.text.format
An enumeration of decorations which may be applied to a Component.
TextDecoration.State - Enum in net.kyori.text.format
A state that a TextDecoration can be in.
TextFormat - Interface in net.kyori.text.format
A format which may be applied to a Component.
toBuilder() - Method in interface net.kyori.text.BuildableComponent
Create a builder from this component.
toBuilder() - Method in class net.kyori.text.KeybindComponent
 
toBuilder() - Method in class net.kyori.text.ScoreComponent
 
toBuilder() - Method in class net.kyori.text.SelectorComponent
 
toBuilder() - Method in class net.kyori.text.TextComponent
 
toBuilder() - Method in class net.kyori.text.TranslatableComponent
 
toString() - Method in class net.kyori.text.AbstractComponent
 
toString() - Method in enum net.kyori.text.event.ClickEvent.Action
 
toString() - Method in class net.kyori.text.event.ClickEvent
 
toString() - Method in enum net.kyori.text.event.HoverEvent.Action
 
toString() - Method in class net.kyori.text.event.HoverEvent
 
toString() - Method in enum net.kyori.text.format.TextColor
 
toString() - Method in enum net.kyori.text.format.TextDecoration.State
 
toString() - Method in enum net.kyori.text.format.TextDecoration
 
TranslatableComponent - Class in net.kyori.text
A translatable text component.
TranslatableComponent(TranslatableComponent.Builder) - Constructor for class net.kyori.text.TranslatableComponent
 
TranslatableComponent(List<Component>, TextColor, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, TextDecoration.State, ClickEvent, HoverEvent, String, String, List<Component>) - Constructor for class net.kyori.text.TranslatableComponent
 
TranslatableComponent.Builder - Class in net.kyori.text
A text component builder.
translation(Locale, String) - Method in class net.kyori.text.renderer.FriendlyComponentRenderer
Gets a translation from a locale and translation key.

U

underlined - Variable in class net.kyori.text.AbstractBuildableComponent.AbstractBuilder
If this component should have the underlined decoration.
underlined - Variable in class net.kyori.text.AbstractComponent
If this component should have the underlined decoration.

V

value() - Method in class net.kyori.text.event.ClickEvent
Gets the click event value.
value() - Method in class net.kyori.text.event.HoverEvent
Gets the hover event value.
value(String) - Method in class net.kyori.text.ScoreComponent.Builder
Sets the value.
value() - Method in class net.kyori.text.ScoreComponent
Gets the value.
valueOf(String) - Static method in enum net.kyori.text.event.ClickEvent.Action
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.kyori.text.event.HoverEvent.Action
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.kyori.text.format.TextColor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.kyori.text.format.TextDecoration.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.kyori.text.format.TextDecoration
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.kyori.text.event.ClickEvent.Action
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.kyori.text.event.HoverEvent.Action
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.kyori.text.format.TextColor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.kyori.text.format.TextDecoration.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.kyori.text.format.TextDecoration
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J K L M N O P R S T U V 
Skip navigation links