setText

public abstract void setText(String text)

Sets the text to display.

Parameters

text

The text to display (supports MiniMessage format if available)