public class LiteloaderDownloadProvider extends AbstractMinecraftDownloadProvider implements ExtendedDownloadProvider
| Constructor and Description |
|---|
LiteloaderDownloadProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createLiteloaderVersion(MinecraftDirectory mcdir,
LiteloaderVersion liteloader) |
CombinedDownloadTask<String> |
gameVersionJson(MinecraftDirectory mcdir,
String version)
Returns a game version json download task.
|
CombinedDownloadTask<LiteloaderVersionList> |
liteloaderVersionList() |
protected String |
liteloaderVersionListUrl() |
void |
setUpstreamProvider(MinecraftDownloadProvider upstreamProvider) |
asset, assetsIndex, gameJar, library, versionListclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasset, assetsIndex, gameJar, library, versionListpublic CombinedDownloadTask<LiteloaderVersionList> liteloaderVersionList()
public CombinedDownloadTask<String> gameVersionJson(MinecraftDirectory mcdir, String version)
MinecraftDownloadProvider
The version json file will be saved to
${mcdir}/versions/${version}/${version}.json. If the file
already exists, this method will overwrite the file.
gameVersionJson in interface MinecraftDownloadProvidergameVersionJson in class AbstractMinecraftDownloadProvidermcdir - the minecraft dirversion - the game versionpublic void setUpstreamProvider(MinecraftDownloadProvider upstreamProvider)
setUpstreamProvider in interface ExtendedDownloadProviderprotected String createLiteloaderVersion(MinecraftDirectory mcdir, LiteloaderVersion liteloader) throws IOException
IOExceptionprotected String liteloaderVersionListUrl()
Copyright © 2016. All rights reserved.