setClick

fun setClick(action: String, value: String): TextComponent

Sets the click action and value of the component. See TextComponent.setClickAction for possible click actions.

Parameters

action

the click action

value

the click value

Sources

Link copied to clipboard