程序包 org.bukkit

# 接口 Translatable

所有已知子接口:
  `Block`, `BlockType`, `BlockType.Typed<B>`, `DamageType`, `ItemType`, `ItemType.Typed<M>`, `JukeboxSong`, `TrimMaterial`, `TrimPattern`

所有已知实现类:
  `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.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull String`
  `getTranslationKey()`
  Get the translation key, suitable for use in a translation component.

- ## 方法详细资料

  - ### getTranslationKey

    @NotNull @NotNull String getTranslationKey()
    Get the translation key, suitable for use in a translation component.
    返回:
      the translation key