diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:42:14 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:42:14 +0300 |
| commit | 9affe6b2ee9d4bd1c474d1d7c32ea2cc81ce5cee (patch) | |
| tree | 0dcfc70783bc623b016d05515aee309e0ca5c2d3 /forgewrapper/README.md | |
| parent | 3d2121f5d6555744ce5aa502088fc2b34dc26d38 (diff) | |
| parent | 959f7668509a90d524438903ad8bda55d9e24e9d (diff) | |
| download | Project-Tick-9affe6b2ee9d4bd1c474d1d7c32ea2cc81ce5cee.tar.gz Project-Tick-9affe6b2ee9d4bd1c474d1d7c32ea2cc81ce5cee.zip | |
Add 'forgewrapper/' from commit '959f7668509a90d524438903ad8bda55d9e24e9d'
git-subtree-dir: forgewrapper
git-subtree-mainline: 3d2121f5d6555744ce5aa502088fc2b34dc26d38
git-subtree-split: 959f7668509a90d524438903ad8bda55d9e24e9d
Diffstat (limited to 'forgewrapper/README.md')
| -rw-r--r-- | forgewrapper/README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/forgewrapper/README.md b/forgewrapper/README.md new file mode 100644 index 0000000000..a1e855798b --- /dev/null +++ b/forgewrapper/README.md @@ -0,0 +1,30 @@ +# ForgeWrapper + +Allow [MultiMC](https://github.com/MultiMC/MultiMC5) 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`](https://github.com/ZekerZhayard/ForgeWrapper/blob/master/src/main/java/io/github/zekerzhayard/forgewrapper/installer/detector/IFileDetector.java), 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](https://files.minecraftforge.net/). +2. Download ForgeWrapper jar file at the [release](https://github.com/ZekerZhayard/ForgeWrapper/releases) page. +3. Since ForgeWrapper 1.5.1, it no longer includes the json converter, so you need to build it by yourself: + - [Download](https://github.com/ZekerZhayard/ForgeWrapper/archive/refs/heads/master.zip) ForgeWrapper sources. + - Extract the zip and open terminal in the extracted folder. + - Run `./gradlew converter:build` command in terminal and get the jar from `./converter/build/libs` +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>`.
\ No newline at end of file |
