minified-utils/com.dervarex.minified.utils.version
VersionManifestClient
@API(status = INTERNAL)
public final class VersionManifestClientMethods
getManifest()
staticSource
public static JsonFile getManifest() throws HttpException, IOException| Returns | ||
|---|---|---|
JsonFile | The Minecraft version manifest | |
| Throws | ||
HttpException | When no connection could be established or any other Http Error occurs | |
IOException | If there is an error reading the response | |
public static JsonValue getVersionEntry(String version) throws HttpException, IOException| Parameters | ||
|---|---|---|
version | String | |
| Returns | ||
JsonValue | ||
| Throws | ||
HttpException | ||
IOException | ||
getVersions()
staticSource
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 | ||
HttpException | When no connection could be established or any other Http Error occurs | |
IOException | If there is an error reading the response | |