getMessage
Retrieves a translatable message as a TranslatableComponent.
Return
The message as a translatable TranslatableComponent.
Parameters
key
The key of the message in the resource bundle.
params
Optional parameters to format the message.