McBrigadierSource

Properties

Link copied to clipboard
abstract val executor: McEntity?

Gets the entity executing this command.

Link copied to clipboard
open val isSilent: Boolean

Checks if the source suppresses command feedback.

Link copied to clipboard
abstract val source: McCommandSource

Gets the command source that initiated/triggered the execution of a command.

Functions

Link copied to clipboard
abstract fun <T> getInstance(): T

Gets the server's implementation instance for this source.

Link copied to clipboard
open fun sendFeedback(text: String)

Sends command feedback to the source, unless the source isSilent.