sendMessage

abstract fun sendMessage(text: McTextComponent)

Sends a chat message to the chat holder.

Parameters

text

The chat component to send.


open fun sendMessage(text: String)

Sends a chat message to the chat holder.

Parameters

text

The string message to send.