Package-level declarations
Types
Link copied to clipboard
A lazy text component with async loading.
Link copied to clipboard
Link copied to clipboard
A component that is delegated to another component.
Link copied to clipboard
Link copied to clipboard
Allows net.minecraft.network.chat.MutableComponent to execute anything on click.
Link copied to clipboard
A mode for matching strings.
Link copied to clipboard
class StyleBuilder
Link copied to clipboard
class TextBuilder
Functions
Link copied to clipboard
Returns an immutable Component from the receiver.
Returns an immutable Component from the receiver with formatting.
Returns an immutable Component from the receiver with style.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Converts milliseconds to seconds, minutes, hours and days when present.
Link copied to clipboard
Link copied to clipboard
Joins a list of Component into a single Component with the given separator.
fun <T> Collection<T>.joinToText(separator: Component, prefix: Component? = null, postfix: Component? = null, transform: Function<T, Component>): Component
Link copied to clipboard
Link copied to clipboard
Returns the root domain of the domain.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun textLoadingBar(percent: Int, progress: ColoredChar = '█'.colored(ChatFormatting.WHITE), remaining: ColoredChar = '░'.colored(ChatFormatting.DARK_GRAY), length: Int = 10): Component
Generates a progress bar based on the percentage (range 0 to 100).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Translate alt color codes to minecraft color codes
Link copied to clipboard
Link copied to clipboard