asText

fun asText(component: Component): String

Converts a Component to a string representation using MiniMessage serialization.

Return

The serialized string representation of the Component.

Parameters

component

The Component to convert.