Package-level declarations
Text builder for building literal text objects
Properties
Functions
Link copied to clipboard
Sends the given Component to each player on the server.
inline fun MinecraftServer.broadcastText(baseText: String? = null, builder: LiteralTextBuilder.() -> Unit = { })
Opens a LiteralTextBuilder and sends the resulting Component to each player on the server.
Link copied to clipboard
Link copied to clipboard
inline fun literalText(baseText: String? = null, builder: LiteralTextBuilder.() -> Unit = { }): MutableComponent
Opens a LiteralTextBuilder.
Link copied to clipboard
Sends the given Component to the player.
inline fun CommandSource.sendText(baseText: String? = null, builder: LiteralTextBuilder.() -> Unit = { })
Opens a LiteralTextBuilder and sends the resulting MutableComponent to the player.
Link copied to clipboard
Returns a pretty printed JSON string of this Component in its serialized form.