public class DownloadList
extends java.lang.Object
IProgressCallback progress system.| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadList.DownloadInfo |
| Constructor and Description |
|---|
DownloadList() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear and reset this download list object.
|
java.util.List<AssetDownloadable> |
getDownloadableAssets()
Get the queue that contains all assets to download.
|
java.util.List<Downloadable> |
getDownloadableFiles()
Get the list that contains all downloadable files.
|
DownloadList.DownloadInfo |
getDownloadInfo()
Get the new API to get information about the progress of the download.
|
java.util.List<ExternalFile> |
getExtFiles()
Get the list that contains all external files.
|
java.util.List<Mod> |
getMods()
Get the list that contains all mods.
|
OptiFine |
getOptiFine()
Get the OptiFine object.
|
void |
incrementDownloaded(long bytes)
This method increments the number of bytes downloaded by the number of bytes passed in parameter.
|
void |
init()
This method initializes fields.
|
void |
setOptiFine(OptiFine optiFine)
Define the OptiFine object.
|
public void init()
public void incrementDownloaded(long bytes)
bytes - number of bytes to add to downloaded bytes.public DownloadList.DownloadInfo getDownloadInfo()
DownloadList.DownloadInfo.public java.util.List<AssetDownloadable> getDownloadableAssets()
public java.util.List<Downloadable> getDownloadableFiles()
public java.util.List<ExternalFile> getExtFiles()
public java.util.List<Mod> getMods()
public OptiFine getOptiFine()
public void setOptiFine(OptiFine optiFine)
optiFine - the OptiFine object to define.public void clear()