Skip to content

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:

  1. Go into your build\libs folder open the jar file there with winzip/winrar/7zip (we'll call this the 'build jar')
  2. Open your original minecraft jar file (we'll call this the 'original jar')
  3. 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).
  4. Delete the META-INF folder from your build jar
  5. (optional) Rename/back up your original jar file (add a .bak to the end or whatever)
  6. 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
  7. 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)
  8. Scroll down to assetIndex, delete the lines "size" and "sha1"
  9. Delete the size and sha1 lines from: client, client_mappings, server, server_mappings sections
  10. 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.