Class ForgeInstaller
java.lang.Object
io.github.headlesshq.headlessmc.launcher.command.forge.ForgeInstaller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddownloadInstaller(ForgeVersion version, File file) getCommand(Java java, File installDir, File jar, File fml, boolean inMemory, boolean server) voidinstall(ForgeVersion version, FileManager fileManager, boolean inMemory) Deprecated.voidinstall(ForgeVersion version, FileManager fileManager, FileManager installDir, boolean inMemory, boolean server) Deprecated.voidinstall(Version vanillaVersion, ForgeVersion version, FileManager fileManager, boolean inMemory) voidinstallServer(ForgeVersion version, FileManager fileManager, @Nullable String dir, boolean inMemory) Deprecated.voidinstallServer(Version vanillaVersion, ForgeVersion version, FileManager fileManager, @Nullable String dir, boolean inMemory)
-
Constructor Details
-
ForgeInstaller
public ForgeInstaller()
-
-
Method Details
-
install
public void install(Version vanillaVersion, ForgeVersion version, FileManager fileManager, boolean inMemory) throws IOException - Throws:
IOException
-
installServer
public void installServer(Version vanillaVersion, ForgeVersion version, FileManager fileManager, @Nullable @Nullable String dir, boolean inMemory) throws IOException - Throws:
IOException
-
getCommand
-
downloadInstaller
- Throws:
IOException
-
install
@Deprecated public void install(ForgeVersion version, FileManager fileManager, boolean inMemory) throws IOException Deprecated.- Throws:
IOException
-
installServer
@Deprecated public void installServer(ForgeVersion version, FileManager fileManager, @Nullable @Nullable String dir, boolean inMemory) throws IOException Deprecated.- Throws:
IOException
-
install
@Deprecated public void install(ForgeVersion version, FileManager fileManager, FileManager installDir, boolean inMemory, boolean server) throws IOException Deprecated.- Throws:
IOException
-