translatable

Creates a new translatable text component with the specified translation key and arguments.

Return

A McTranslatableText instance with the given key and arguments.

Parameters

key

The translation key.

args

The arguments to replace placeholders in the translation.