Package org.bukkit
Interface Translatable
- All Known Subinterfaces:
Block
- All Known Implementing Classes:
EntityType
,ItemStack
,Material
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.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.look for atranslationKey()
method instead
-
Method Details
-
getTranslationKey
Deprecated, for removal: This API element is subject to removal in a future version.look for atranslationKey()
method insteadGet the translation key, suitable for use in a translation component.- Returns:
- the translation key
-
Translatable