McChatHolder

interface McChatHolder

Represents a receiver of Minecraft messages, capable of sending various types of chat messages.

Inheritors

Properties

Link copied to clipboard
abstract val language: String

Gets the current language of the chat holder.

Functions

Link copied to clipboard
open fun sendActionBar(text: String)
abstract fun sendActionBar(text: McTextComponent)

Sends an action bar message to the chat holder.

Link copied to clipboard
open fun sendMessage(text: String)
abstract fun sendMessage(text: McTextComponent)

Sends a chat message to the chat holder.