# KSpigotComponentBuilder

class KSpigotComponentBuilder
Content copied to clipboard

## Functions

create
Link copied to clipboard
fun create(): Array<BaseComponent>
Content copied to clipboard
keybind
Link copied to clipboard
inline fun keybind(keybind: String, builder: KeybindComponent.() -> Unit = { })
Content copied to clipboard
legacyText
Link copied to clipboard
fun legacyText(text: String, color: ChatColor = ChatColor.WHITE, builder: BaseComponent.() -> Unit = { })
Content copied to clipboard
plusAssign
Link copied to clipboard
operator fun plusAssign(baseComponents: Array<out BaseComponent>)
Content copied to clipboard
operator fun plusAssign(baseComponent: BaseComponent)
Content copied to clipboard
score
Link copied to clipboard
inline fun score(name: String, objective: String, value: String?, builder: ScoreComponent.() -> Unit = { })
Content copied to clipboard
selector
Link copied to clipboard
inline fun selector(selector: String, builder: SelectorComponent.() -> Unit = { })
Content copied to clipboard
text
Link copied to clipboard
inline fun text(text: String, builder: TextComponent.() -> Unit = { })
Content copied to clipboard
translatable
Link copied to clipboard
inline fun translatable(translatable: String, with: Array<BaseComponent>, builder: TranslatableComponent.() -> Unit = { })
Content copied to clipboard