Uses of Record Class
nl.pim16aap2.animatedarchitecture.core.text.TextComponent
Packages that use TextComponent
Package
Description
This package contains text-related utilities used for communication with users.
Provides utility classes and
Text implementations that depend on
the Spigot API and can be used by all modules for the Spigot platform.-
Uses of TextComponent in nl.pim16aap2.animatedarchitecture.core.text
Fields in nl.pim16aap2.animatedarchitecture.core.text declared as TextComponentModifier and TypeFieldDescriptionstatic final TextComponentTextComponent.EMPTYText component that does not contain any decorators.Methods in nl.pim16aap2.animatedarchitecture.core.text that return TextComponentModifier and TypeMethodDescription@Nullable TextComponentTextArgument.component()Returns the value of thecomponentrecord component.default @Nullable TextComponentITextComponentFactory.newClickableTextComponent(@Nullable TextType type, String command) Creates a newTextComponentand attempts to add any requiredITextDecorators to execute a command when the text is clicked.default @Nullable TextComponentITextComponentFactory.newClickableTextComponent(@Nullable TextType type, String command, @Nullable String info) Creates a newTextComponentand attempts to add any requiredITextDecorators to execute a command when the text is clicked.default @Nullable TextComponentITextComponentFactory.newComponent(@Nullable TextType type) Creates a newTextComponentfor a given type.TextComponent.withDecorators(List<ITextDecorator> append) Creates a new text component with additional decorators.TextComponent.withDecorators(ITextDecorator... append) Creates a new text component with additional decorators.Methods in nl.pim16aap2.animatedarchitecture.core.text with parameters of type TextComponentModifier and TypeMethodDescriptionfinal TextText.append(String text, @Nullable TextComponent component, Text.ArgumentCreator... argumentRetrievers) Appends some styled text to the current text with some optional argument.Text.append(String text, @Nullable TextComponent component, TextArgument... arguments) Appends some styled text to the current text with some optional argument.default <U extends ITextDecorator>
Stream<U> ITextRenderer.getDecoratorsOfType(Class<U> clz, TextComponent component) Retrieves a stream of all decorators that are an instance of a given type.voidITextRenderer.process(String text, TextComponent component) Processes a piece of styled text.voidITextRenderer.StringRenderer.process(String text, TextComponent component) Constructors in nl.pim16aap2.animatedarchitecture.core.text with parameters of type TextComponentModifierConstructorDescriptionTextArgument(@Nullable Object argument, @Nullable TextComponent component) Creates an instance of aTextArgumentrecord class. -
Uses of TextComponent in nl.pim16aap2.animatedarchitecture.spigot.util.text
Methods in nl.pim16aap2.animatedarchitecture.spigot.util.text that return TextComponentModifier and TypeMethodDescriptionTextComponentFactorySpigot.newClickableTextComponent(@Nullable TextType type, String command, @Nullable String info) TextComponentFactorySpigot.newComponent(@Nullable TextType type) Methods in nl.pim16aap2.animatedarchitecture.spigot.util.text with parameters of type TextComponentModifier and TypeMethodDescriptionvoidTextRendererSpigot.process(String text, TextComponent component)