print Styled Component
fun printStyledComponent(key: String, textComponent: Component? = null, copyContent: String? = null, formatting: (MutableComponent) -> MutableComponent = ::regular, hover: HoverEvent? = HoverEvent.ShowText(translation("liquidbounce.tooltip.clickToCopy")))
Sends a styled command result with copyable content and custom text component
Parameters
key
Translation key (will be prefixed with command's translation base)
text Component
Text component to display
copy Content
Optional content to copy when clicked (defaults to text component's string representation)
formatting
Function to apply formatting to the text (default: regular)
hover
Optional hover event (defaults to "Click to copy" tooltip)