Deprecated, for removal: This API element is subject to removal in a future version.
Represents an object with a text representation that can be translated by the Minecraft client.
getTranslationKeyDeprecated, for removal: This API element is subject to removal in a future version.look for a
translationKey()method insteadGet the translation key, suitable for use in a translation component.
- the translation key