setTextComponent

fun setTextComponent(index: Int, component: Any): Message

Sets the TextComponent or String in the Message at index.

Return

the Message for method chaining

Parameters

index

the index of the TextComponent or String to change

component

the new TextComponent or String to replace with

Sources

Link copied to clipboard