Interface HTTranslation

  • All Implemented Interfaces:
    hiiragi283.core.api.text.HTHasTranslationKey

    
    public interface HTTranslation
     implements HTHasTranslationKey
                        

    翻訳を保持するインターフェースです。

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      MutableComponent translate() テキストを返します。
      MutableComponent translate(Object args) テキストを返します。
      MutableComponent translateColored(ChatFormatting color) colorで着色されたテキストを返します。
      MutableComponent translateColored(ChatFormatting color, Object args) colorで着色されたテキストを返します。
      abstract String getTranslationKey()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • translate

         MutableComponent translate()

        テキストを返します。

      • translate

         MutableComponent translate(Object args)

        テキストを返します。

        Parameters:
        args - テキストの引数
      • translateColored

         MutableComponent translateColored(ChatFormatting color)

        colorで着色されたテキストを返します。

      • translateColored

         MutableComponent translateColored(ChatFormatting color, Object args)

        colorで着色されたテキストを返します。

        Parameters:
        args - テキストの引数