classinternalSource
@API(status = INTERNAL)
public final class VersionManifestClient

Methods

public static JsonFile getManifest() throws HttpException, IOException
Returns
JsonFileThe Minecraft version manifest
Throws
HttpExceptionWhen no connection could be established or any other Http Error occurs
IOExceptionIf there is an error reading the response
public static JsonValue getVersionEntry(String version) throws HttpException, IOException
Parameters
versionString
Returns
JsonValue
Throws
HttpException
IOException
public static Iterable<JsonValue> getVersions() throws HttpException, IOException
Returns
Iterable<JsonValue>All Minecraft versions as an iterable of JSON values, each containing the version's metadata (id, type, url, time, releaseTime)
Throws
HttpExceptionWhen no connection could be established or any other Http Error occurs
IOExceptionIf there is an error reading the response