程序包 org.bukkit
接口 Translatable
- 所有已知子接口:
Attribute,Block,BlockType,BlockType.Typed<B>,DamageType,ItemType,ItemType.Typed<M>,JukeboxSong,TrimMaterial,TrimPattern
- 所有已知实现类:
Enchantment,EnchantmentWrapper,EntityType,ItemStack,Material,PotionEffectType,PotionEffectTypeWrapper
public interface Translatable
代表一个具有可被Minecraft客户端翻译的文本表示的对象.
-
方法概要
-
方法详细资料
-
getTranslationKey
获取翻译键, 适用于在翻译组件中使用.原文: Get the translation key, suitable for use in a translation component.
- 返回:
- 翻译键
-