@API(status = INTERNAL)
public class CacheManagerConstructors
public CacheManager()Methods
JsonObject loadProfileJson(String, String, String, boolean, ProfileSupplier)Loads a loader profile from the cache or from the Launcher.ProfileSupplier if it ain't cached yetJsonFile loadVersionJson(String, boolean)public static JsonObject loadProfileJson(
String version,
String loaderName,
String loaderVersion,
boolean online,
ProfileSupplier supplier
)Loads a loader profile from the cache or from the
Launcher.ProfileSupplier if it ain't cached yet| Parameters | ||
|---|---|---|
version | String | |
loaderName | String | |
loaderVersion | String | |
online | boolean | |
supplier | ProfileSupplier | |
| Returns | ||
JsonObject | ||
public static JsonFile loadVersionJson(String version, boolean online) throws IOException| Parameters | ||
|---|---|---|
version | String | |
online | boolean | |
| Returns | ||
JsonFile | ||
| Throws | ||
IOException | ||