Package org.bukkit
Interface Translatable
- All Known Subinterfaces:
Block
,DamageType
,TrimMaterial
,TrimPattern
- All Known Implementing Classes:
Attribute
,Enchantment
,EnchantmentWrapper
,EntityType
,ItemStack
,Material
,PotionEffectType
,PotionEffectTypeWrapper
public interface Translatable
Represents an object with a text representation that can be translated by the
Minecraft client.
-
Method Summary
Modifier and TypeMethodDescriptionGet the translation key, suitable for use in a translation component.
-
Method Details
-
getTranslationKey
Get the translation key, suitable for use in a translation component.- Returns:
- the translation key
-