public class NeoForgeVersion extends AbstractModLoaderVersion
callback, curseModPackInfo, curseMods, downloadList, fileDeleter, javaPath, logger, modLoaderVersion, modrinthModPack, modrinthModPackInfo, modrinthMods, mods, optiFineInfo, vanilla
Modifier and Type | Method and Description |
---|---|
void |
install(@NotNull java.nio.file.Path installDir)
Install the current mod loader in a specified directory.
|
boolean |
isModLoaderAlreadyInstalled(@NotNull java.nio.file.Path installDir)
Check if the current mod loader is already installed.
|
java.lang.String |
name()
Get the mod loader name.
|
attachFlowUpdater, getCallback, getCurseModPackInfo, getCurseMods, getDownloadList, getFileDeleter, getLogger, getModLoaderVersion, getModrinthModPack, getModrinthModPackInfo, getModrinthMods, getMods, getOptiFineInfo, installMods, setAllCurseMods, setAllModrinthMods, setModrinthModPack
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
installAllMods
public boolean isModLoaderAlreadyInstalled(@NotNull @NotNull java.nio.file.Path installDir)
IModLoaderVersion
installDir
- the dir to check.public void install(@NotNull @NotNull java.nio.file.Path installDir) throws java.lang.Exception
IModLoaderVersion
installDir
- folder where the mod loader is going to be installed.java.lang.Exception
- if an I/O error occurred.public java.lang.String name()
IModLoaderVersion