public class NewForgeVersion extends AbstractForgeVersion
IModLoaderVersion.ModLoaderLauncherEnvironment
allCurseMods, callback, curseMods, downloadInfos, fileDeleter, forgeVersion, installerUrl, logger, modPackInfos, mods, old, optifine, vanilla
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkForgeEnv(java.nio.file.Path dirToInstall)
Check if the minecraft installation already contains another forge installation not corresponding to this version.
|
protected void |
cleanInstaller(java.nio.file.Path tempInstallerDir) |
void |
install(java.nio.file.Path dirToInstall)
This function installs a Forge version at the specified directory.
|
boolean |
isCompatible() |
appendCallback, appendDownloadInfos, downloadForgeInstaller, getAllCurseMods, getCallback, getCurseMods, getDownloadInfos, getFileDeleter, getForgeVersion, getInstallerUrl, getLogger, getModPackInfos, 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
AbstractForgeVersion
install
in interface IModLoaderVersion
install
in class AbstractForgeVersion
dirToInstall
- Specified directory.java.lang.Exception
protected boolean checkForgeEnv(java.nio.file.Path dirToInstall) throws java.lang.Exception
AbstractForgeVersion
checkForgeEnv
in class AbstractForgeVersion
dirToInstall
- Forge installation directory.java.lang.Exception
- if an error occurred.public boolean isCompatible()
protected void cleanInstaller(java.nio.file.Path tempInstallerDir) throws java.lang.Exception
cleanInstaller
in class AbstractForgeVersion
java.lang.Exception