classinternalinternalSource
@API(status = INTERNAL)
public class CacheManager

Constructors

public CacheManager()

Methods

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
versionString
loaderNameString
loaderVersionString
onlineboolean
supplierProfileSupplier
Returns
JsonObject
public static JsonFile loadVersionJson(String version, boolean online) throws IOException
Parameters
versionString
onlineboolean
Returns
JsonFile
Throws
IOException