insertion

abstract infix fun insertion(text: String): ComponentBuilder

Sets the insertion text for the last appended component. When the player shift-clicks this component, the specified text will be inserted into their chat input field.

Return

this component builder for chaining

Parameters

text

the text to insert when shift-clicked