Package-level declarations

Types

Link copied to clipboard
data class StylizedChar(val char: Char, val style: Style)

Functions

Link copied to clipboard
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.append(fontChar: FontChar): B
Link copied to clipboard
fun Component.chars(lang: String = "en_us"): Sequence<StylizedChar>
Link copied to clipboard
fun Component.charsIterator(lang: String = "en_us"): Iterator<StylizedChar>
Link copied to clipboard
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.color(color: Color): B
Link copied to clipboard
fun Component.font(font: String): Component
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.font(font: String): B
Link copied to clipboard
fun Component.fontName(): String?
Link copied to clipboard
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.move(distance: Number): B
Link copied to clipboard
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.moveTo(afterStart: Number, lang: String = "en_us"): B
Link copied to clipboard
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.moveToCenter(lang: String = "en_us"): B
Link copied to clipboard
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.moveToStart(lang: String = "en_us"): B
Link copied to clipboard
fun Array<out BaseComponent>.toAdventureComponent(): Component
fun String.toAdventureComponent(): Component
fun Component.toAdventureComponent(): Component
Link copied to clipboard
fun String.toAdventureComponentOr(createComponent: () -> Component): Component
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Component.toJson(): String
fun Component.toJson(): String
Link copied to clipboard
fun Component.toNBT(): StringTag
Link copied to clipboard
fun Component.toNMSComponent(): Component
Link copied to clipboard
fun Component.toPlainText(locale: String = "en_us"): String
fun Component.toPlainText(player: Player): String
Link copied to clipboard
fun Component.withoutPreFormatting(): Component
fun Component.withoutPreFormatting(): Component