Class ModLoaderUtils

java.lang.Object
fr.flowarg.flowupdater.versions.ModLoaderUtils

public class ModLoaderUtils extends Object
  • Constructor Details

    • ModLoaderUtils

      public ModLoaderUtils()
  • Method Details

    • buildJarUrl

      @Contract(pure=true) @NotNull public static @NotNull String buildJarUrl(String baseUrl, @NotNull @NotNull String group, String artifact, String version)
    • buildJarUrl

      @Contract(pure=true) @NotNull public static @NotNull String buildJarUrl(String baseUrl, @NotNull @NotNull String group, String artifact, String version, String classifier)
    • buildLibraryPath

      @NotNull public static @NotNull Path buildLibraryPath(@NotNull @NotNull Path installDir, @NotNull @NotNull String group, String artifact, String version)
    • fakeContext

      public static void fakeContext(@NotNull @NotNull Path dirToInstall, String vanilla) throws Exception
      Throws:
      Exception
    • removeFakeContext

      public static void removeFakeContext(@NotNull @NotNull Path dirToInstall) throws Exception
      Throws:
      Exception
    • parseNewVersionInfo

      @NotNull public static @NotNull List<ParsedLibrary> parseNewVersionInfo(Path installDir, @NotNull @NotNull com.google.gson.JsonObject versionInfo) throws Exception
      Throws:
      Exception