public class OldForgeVersion extends AbstractForgeVersion
IModLoaderVersion.ModLoaderLauncherEnvironment
allCurseMods, callback, curseMods, downloadInfos, fileDeleter, forgeVersion, installerUrl, logger, modPackInfo, mods, old, optifine, vanilla
Modifier and Type | Method and Description |
---|---|
boolean |
checkModLoaderEnv(java.nio.file.Path dirToInstall)
Check if the minecraft installation already contains another mod loader installation not corresponding to this version.
|
protected void |
cleanInstaller(java.nio.file.Path tempInstallerDir)
Clean temp installer directory.
|
void |
install(java.nio.file.Path dirToInstall)
Install the current mod loader in a specified directory.
|
attachFlowUpdater, downloadForgeInstaller, getAllCurseMods, getCallback, getCurseMods, getDownloadInfos, getFileDeleter, getForgeVersion, getInstallerUrl, getLogger, getModPackInfo, getMods, getOptifine, installMods, isModLoaderAlreadyInstalled, makeCommand, packPatchedInstaller, patchForgeInstaller, prepareModLoaderLauncher, setAllCurseMods
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
installAllMods
public void install(java.nio.file.Path dirToInstall) throws java.lang.Exception
install
in interface IModLoaderVersion
install
in class AbstractForgeVersion
dirToInstall
- folder where the mod loader is going to be installed.java.lang.Exception
- if an I/O error occurred.public boolean checkModLoaderEnv(java.nio.file.Path dirToInstall) throws java.lang.Exception
checkModLoaderEnv
in interface IModLoaderVersion
checkModLoaderEnv
in class AbstractForgeVersion
dirToInstall
- Mod loader installation directory.java.lang.Exception
- if an error occurred.protected void cleanInstaller(java.nio.file.Path tempInstallerDir) throws java.lang.Exception
cleanInstaller
in class AbstractForgeVersion
tempInstallerDir
- directory to clear.java.lang.Exception
- if an I/O error occurred.