sendActionBar

abstract fun sendActionBar(text: McTextComponent)

Sends an action bar message to the chat holder.

If the McChatHolder does not support the action bar, the message will be sent to the chat instead.

Parameters

text

The chat component to send as an action bar message.


open fun sendActionBar(text: String)

Sends an action bar message to the chat holder.

If the McChatHolder does not support the action bar, the message will be sent to the chat instead.

Parameters

text

The string message to send as an action bar message.