minified-launch/com.dervarex.minified.launch.launch.modding.quilt
QuiltLoaderFetcher
classSource
public class QuiltLoaderFetcherConstructors
public QuiltLoaderFetcher()Methods
String getLatestLoaderVersion(String)JsonObject getLatestProfile(String)JsonObject getProfileJson(String, String)String selectLatestLoaderVersion(List)The Quilt meta API does not return the loader versions sorted, so we need to do thatpublic static String getLatestLoaderVersion(String minecraftVersion) throws Exceptionpublic static JsonObject getLatestProfile(String minecraftVersion) throws Exception| Parameters | ||
|---|---|---|
minecraftVersion | String | |
| Returns | ||
JsonObject | ||
| Throws | ||
Exception | ||
public static JsonObject getProfileJson(String minecraftVersion, String loaderVersion) throws Exception| Parameters | ||
|---|---|---|
minecraftVersion | String | |
loaderVersion | String | |
| Returns | ||
JsonObject | ||
| Throws | ||
Exception | ||
public static String selectLatestLoaderVersion(List<String> versions)