translatableAny

abstract fun translatableAny(key: String, vararg args: Any): ComponentBuilder

Appends a translatable component with mixed type arguments. Accepts any type of arguments (String, Number, Component, etc.) which will be converted appropriately.

Return

this component builder for chaining

Parameters

key

the translation key

args

the translation arguments of any type