-
Notifications
You must be signed in to change notification settings - Fork 8
Getting the jar file to run outside the IDE
xJoyride edited this page Feb 27, 2020
·
1 revision
Once you've run 'build' from MCD -> tasks -> build, you need to:
- Go into your build\libs folder open the jar file there with winzip/winrar/7zip (we'll call this the 'build jar')
- Open your original minecraft jar file (we'll call this the 'original jar')
- Copy over the data & assets folder, as well as pack.png and pack.mcdata from the original jar into your build jar(you can just drag and drop between the two jar files).
- Delete the META-INF folder from your build jar
- (optional) Rename/back up your original jar file (add a .bak to the end or whatever)
- Rename the build jar to your minecraft version (e.g. 1.15.2.jar), copy the renamed build jar to your original jar's file directory
- Edit your launcher json file (e.g. 1.15.2.json) - (it should be in the same folder as your original jar/renamed build jar, you also might want to back it up)
- Scroll down to assetIndex, delete the lines "size" and "sha1"
- Delete the size and sha1 lines from: client, client_mappings, server, server_mappings sections
- Save the json and run your launcher, it might take a minute or two, but once it loads up you should be able to play your modded minecraft.