classSource
public class QuiltLoaderFetcher

Constructors

public QuiltLoaderFetcher()

Methods

public static String getLatestLoaderVersion(String minecraftVersion) throws Exception
Parameters
minecraftVersionString
Returns
String
Throws
Exception
public static JsonObject getLatestProfile(String minecraftVersion) throws Exception
Parameters
minecraftVersionString
Returns
JsonObject
Throws
Exception
public static JsonObject getProfileJson(String minecraftVersion, String loaderVersion) throws Exception
Parameters
minecraftVersionString
loaderVersionString
Returns
JsonObject
Throws
Exception
public static String selectLatestLoaderVersion(List<String> versions)
The Quilt meta API does not return the loader versions sorted, so we need to do that
Parameters
versionsList<String>Loader versions, for example 0.30.1 or 0.31.0-beta.4
Returns
StringThe newest stable version, or the newest pre-release if there is no stable version