No description
Find a file
2021-07-23 02:12:18 +08:00
.github/workflows Fix maven.bat. 2021-07-23 02:12:18 +08:00
gradle/wrapper Fix crash on launch with forge-1.16.5-36.1.66. 2021-07-23 01:39:13 +08:00
legacy Fix crash on launch with forge-1.16.5-36.1.66. 2021-07-23 01:39:13 +08:00
src/main Fix crash on launch with forge-1.16.5-36.1.66. 2021-07-23 01:39:13 +08:00
.gitignore Support Eclipse. 2020-02-09 11:34:40 +08:00
build.gradle Fix crash on launch with forge-1.16.5-36.1.66. 2021-07-23 01:39:13 +08:00
gradle.properties Fix maven.bat. 2021-07-23 02:12:18 +08:00
gradlew Fix crash on launch with forge-1.16.5-36.1.66. 2021-07-23 01:39:13 +08:00
gradlew.bat Fix crash on launch with forge-1.16.5-36.1.66. 2021-07-23 01:39:13 +08:00
LICENSE first commit 2019-12-28 03:23:07 +08:00
README.md Improve cache file detectors. 2020-07-14 03:56:34 +08:00
settings.gradle Fix crash on launch with forge-1.16.5-36.1.66. 2021-07-23 01:39:13 +08:00

ForgeWrapper

Allow MultiMC to launch Minecraft 1.13+ with Forge.

ForgeWrapper has been adopted by MultiMC, you do not need to perform the following steps manually. (2020-03-29)

For other launchers

  1. ForgeWrapper provides some java properties since 1.4.2:

    • forgewrapper.librariesDir : a path to libraries folder (e.g. -Dforgewrapper.librariesDir=/home/xxx/.minecraft/libraries)
    • forgewrapper.installer : a path to forge installer (e.g. -Dforgewrapper.installer=/home/xxx/forge-1.14.4-28.2.0-installer.jar)
    • forgewrapper.minecraft : a path to the vanilla minecraft jar (e.g. -Dforgewrapper.minecraft=/home/xxx/.minecraft/versions/1.14.4/1.14.4.jar)
  2. ForgeWrapper also provides an interface IFileDetector, you can implement it and custom your own detecting rules. To load it, you should make another jar which contains META-INF/services/io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector within the full implementation class name and add the jar to class path.

How to use (Outdated)

  1. Download Forge installer for Minecraft 1.13+ here.

  2. Download ForgeWrapper jar file at the release page.

  3. Run the below command in terminal:

    java -jar <ForgeWrapper.jar> --installer=<forge-installer.jar> [--instance=<instance-path>]
    

    Notice: If you don't specify a MultiMC instance path, ForgeWrapper will create the instance folder in current working space.

  4. If the instance folder which just created is not in MultiMC/instances folder, you just need to move to the MultiMC/instances folder.

  5. Run MultiMC, and you will see a new instance named forge-<mcVersion>-<forgeVersion>.