Class ComponentsKt

  • All Implemented Interfaces:

    
    public final class ComponentsKt
    
                        
    • 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
      final static MutableComponent toText(String $self) 指定した文字列をテキストに変換します。
      final static MutableComponent translatableText(String value) 指定した文字列を翻訳されたテキストに変換します。
      final static MutableComponent translatableText(String value, Object args) 指定した文字列と引数を翻訳されたテキストに変換します。
      final static MutableComponent boolText(Boolean value) 指定したBooleanを翻訳されたテキストに変換します。
      final static MutableComponent levelText(ResourceKey<Level> key)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • toText

         final static MutableComponent toText(String $self)

        指定した文字列をテキストに変換します。

        Since:

        0.1.0

      • translatableText

         final static MutableComponent translatableText(String value)

        指定した文字列を翻訳されたテキストに変換します。

        Since:

        0.1.0

      • translatableText

         final static MutableComponent translatableText(String value, Object args)

        指定した文字列と引数を翻訳されたテキストに変換します。

        Since:

        0.1.0

      • boolText

         final static MutableComponent boolText(Boolean value)

        指定したBooleanを翻訳されたテキストに変換します。

        Since:

        0.1.0

      • levelText

         final static MutableComponent levelText(ResourceKey<Level> key)
        Since:

        0.1.0