public class CurseModPackInfo extends CurseFileInfo
Constructor and Description |
---|
CurseModPackInfo(int projectID,
int fileID,
boolean installExtFiles,
java.lang.String... excluded)
Construct a new CurseModPackInfo object.
|
CurseModPackInfo(java.lang.String url,
boolean installExtFiles,
java.lang.String... excluded)
Construct a new CurseModPackInfo object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getExcluded()
Get the excluded mods.
|
java.lang.String |
getUrl()
Get the url of the mod pack endpoint.
|
boolean |
isInstallExtFiles()
Get the
installExtFiles option. |
equals, getFileID, getFilesFromJson, getFilesFromJson, getProjectID, hashCode
public CurseModPackInfo(int projectID, int fileID, boolean installExtFiles, java.lang.String... excluded)
projectID
- the ID of the project.fileID
- the ID of the file.installExtFiles
- should install external files like config and resource packs.excluded
- mods to exclude.public CurseModPackInfo(java.lang.String url, boolean installExtFiles, java.lang.String... excluded)
url
- the url of the custom mod pack endpoint.installExtFiles
- should install external files like config and resource packs.excluded
- mods to exclude.public boolean isInstallExtFiles()
installExtFiles
option.installExtFiles
option.public java.lang.String[] getExcluded()
public java.lang.String getUrl()