程序包 org.bukkit

接口 Translatable

所有已知子接口:
Block
所有已知实现类:
EntityType, ItemStack, Material

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

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