程序包 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
Represents an object with a text representation that can be translated by the
Minecraft client.
-
方法概要
修饰符和类型方法说明Get the translation key, suitable for use in a translation component.
-
方法详细资料
-
getTranslationKey
Get the translation key, suitable for use in a translation component.- 返回:
- the translation key
-