text
Appends a text component with the specified string content.
Return
this component builder for chaining
Parameters
the string content to append
Appends a text component with the specified string content and applies additional configuration. This method combines appending text with a nested component builder scope, allowing you to build complex component hierarchies in a fluent way.
Return
this component builder for chaining
Parameters
the string content to append
the consumer lambda that operates on a component builder to configure the appended text
Appends text and styles parts of it that match the given regular expression.
Return
this component builder for chaining
Parameters
the full text content
the regular expression to match against the content
the styler to apply to the matching parts
Appends a text component with multiple text colors applied sequentially. Each color in the formatters array is applied to the component's style.
Return
this component builder for chaining
Parameters
the string content to append
variable number of text colors to apply to the component