Class ResourceLocationsKt

    • 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 ResourceLocation toId(String $self, String path) この文字列を名前空間としたIDを作成します。
      final static ResourceLocation toId(String $self, String path) この文字列を名前空間としたIDを作成します。
      final static String toDescriptionKey(ResourceLocation $self, String prefix) このIDを翻訳キーに変換します。
      final static String toDescriptionKey(ResourceLocation $self, String prefix, String suffix) このIDを翻訳キーに変換します。
      final static String toDescriptionKey(ResourceKey<?> $self, String prefix) このResourceKeyを翻訳キーに変換します。
      final static String toDescriptionKey(ResourceKey<?> $self, String prefix, String suffix) このResourceKeyを翻訳キーに変換します。
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • toId

         final static ResourceLocation toId(String $self, String path)

        この文字列を名前空間としたIDを作成します。

        Parameters:
        path - IDのパス
        Since:

        0.1.0

      • toId

         final static ResourceLocation toId(String $self, String path)

        この文字列を名前空間としたIDを作成します。

        Parameters:
        path - IDのパス
        Since:

        0.1.0

      • toDescriptionKey

         final static String toDescriptionKey(ResourceLocation $self, String prefix)

        このIDを翻訳キーに変換します。

        Since:

        0.6.0

      • toDescriptionKey

         final static String toDescriptionKey(ResourceLocation $self, String prefix, String suffix)

        このIDを翻訳キーに変換します。

        Since:

        0.1.0

      • toDescriptionKey

         final static String toDescriptionKey(ResourceKey<?> $self, String prefix)

        このResourceKeyを翻訳キーに変換します。

        Since:

        0.6.0

      • toDescriptionKey

         final static String toDescriptionKey(ResourceKey<?> $self, String prefix, String suffix)

        このResourceKeyを翻訳キーに変換します。

        Since:

        0.1.0