In the past few weeks, I've been using older versions of Minecraft and I've been trying to get Modloader. Everything goes well until I run Minecraft, and nothing shows up. I go in the .jar file and I find out that all of the files have been removed, the META-INF folder is back, and it's gone. Is there any way I can fix this?
You need to make a copy of the folder for the version that you are trying to mod, then rename the folder and the jar and json files inside all to the same name. Then, open the json file and search for "id": "version" and change "version" to the same name (in quotes), and look for "client.jar" (no quotes) and delete the entire "downloads" section that encloses it, as shown below (all but the last line needs to be deleted; in the json files that I've seen both sections that need to be modified are right next to one another so it is easy to find them):
You should then be able to install the mod as usual; make sure that you make a new profile with its own game directory (versions prior to 1.6 will crash if you run them in the same directory as a current version, plus this ensures that modded worlds, or worlds in older vanilla versions, cannot be opened in a newer version and vice-versa).
This most likely means that you made a mistake when editing the json, which is so easy to do that I distribute pre-modded jsons with my own mods for this very reason.
Did you delete the entire contents of the "downloads" section - including "downloads" itself and the }, at the end? I've seen somebody else just delete the contents without deleting everything with the results that you saw. Make sure that the last line is separated from the previous line with a comma.
Here is what it should look like after you have edited the json, using a modified json from 1.6.4 as an example (as mentioned before they appear to use the same format across versions):
(the deleted "downloads" section was between the "assets" and "id" lines. Everything else not shown should not be changed)
Also, do not try to edit the file with Notepad, which shows everything on a single line which is very hard to read, or copy and paste it to http://redditpreview.com/, then copy it back from the input box (it will automatically convert line breaks to ones that Notepad recognizes. Also, do not use any fancy text editors which may apply formatting).
This most likely means that you made a mistake when editing the json, which is so easy to do that I distribute pre-modded jsons with my own mods for this very reason.
Did you delete the entire contents of the "downloads" section - including "downloads" itself and the }, at the end? I've seen somebody else just delete the contents without deleting everything with the results that you saw. Make sure that the last line is separated from the previous line with a comma.
Here is what it should look like after you have edited the json, using a modified json from 1.6.4 as an example (as mentioned before they appear to use the same format across versions):
(the deleted "downloads" section was between the "assets" and "id" lines. Everything else not shown should not be changed)
Also, do not try to edit the file with Notepad, which shows everything on a single line which is very hard to read, or copy and paste it to http://redditpreview.com/, then copy it back from the input box (it will automatically convert line breaks to ones that Notepad recognizes. Also, do not use any fancy text editors which may apply formatting).
Alright. After doing this Minecraft with Modloader is installed, but when I run it I get this crash:
Mods loaded: 1Mods loaded: 1ModLoader Beta 1.7.3
Minecraft has crashed! ----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT e9df3db --------Generated 9/21/18 6:42 PM
Minecraft: Minecraft Beta 1.7.3OS: Windows 10 (amd64) version 10.0Java: 1.8.0_51, Oracle CorporationVM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle CorporationLWJGL: 2.9.0OpenGL: GeForce GTX 660/PCIe/SSE2 version 4.6.0 NVIDIA 388.13, NVIDIA Corporation
java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:418) at ModLoader.init(ModLoader.java:809) at ModLoader.AddAllRenderers(ModLoader.java:183) at th.<init>(th.java:60) at th.<clinit>(th.java:9) at net.minecraft.client.Minecraft.a(SourceFile:318) at net.minecraft.client.Minecraft.run(SourceFile:716) at java.lang.Thread.run(Thread.java:745)--- END ERROR REPORT dba980f4 ----------
I do not know if this still works (it was posted 5 years ago, the download itself is still up; replies are mixed as to whether it works but it was only tested on 1.2.5, 1.4.7, and 1.5.2); otherwise, you may have to try a 3rd party launcher like Magic Launcher or MultiMC which can replicate the old environment (I do not have any experience with them but I've heard that one or the other can do this; they also make it much easier to install mods as you can just drop them in a folder and select them).
In the past few weeks, I've been using older versions of Minecraft and I've been trying to get Modloader. Everything goes well until I run Minecraft, and nothing shows up. I go in the .jar file and I find out that all of the files have been removed, the META-INF folder is back, and it's gone. Is there any way I can fix this?
You need to make a copy of the folder for the version that you are trying to mod, then rename the folder and the jar and json files inside all to the same name. Then, open the json file and search for "id": "version" and change "version" to the same name (in quotes), and look for "client.jar" (no quotes) and delete the entire "downloads" section that encloses it, as shown below (all but the last line needs to be deleted; in the json files that I've seen both sections that need to be modified are right next to one another so it is easy to find them):

You should then be able to install the mod as usual; make sure that you make a new profile with its own game directory (versions prior to 1.6 will crash if you run them in the same directory as a current version, plus this ensures that modded worlds, or worlds in older vanilla versions, cannot be opened in a newer version and vice-versa).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
So, now that I've done that it doesn't show up in the launcher.
This most likely means that you made a mistake when editing the json, which is so easy to do that I distribute pre-modded jsons with my own mods for this very reason.
Did you delete the entire contents of the "downloads" section - including "downloads" itself and the }, at the end? I've seen somebody else just delete the contents without deleting everything with the results that you saw. Make sure that the last line is separated from the previous line with a comma.
Here is what it should look like after you have edited the json, using a modified json from 1.6.4 as an example (as mentioned before they appear to use the same format across versions):
(the deleted "downloads" section was between the "assets" and "id" lines. Everything else not shown should not be changed)
Also, do not try to edit the file with Notepad, which shows everything on a single line which is very hard to read, or copy and paste it to http://redditpreview.com/, then copy it back from the input box (it will automatically convert line breaks to ones that Notepad recognizes. Also, do not use any fancy text editors which may apply formatting).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Alright. After doing this Minecraft with Modloader is installed, but when I run it I get this crash:
Mods loaded: 1Mods loaded: 1ModLoader Beta 1.7.3
Minecraft has crashed! ----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT e9df3db --------Generated 9/21/18 6:42 PM
Minecraft: Minecraft Beta 1.7.3OS: Windows 10 (amd64) version 10.0Java: 1.8.0_51, Oracle CorporationVM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle CorporationLWJGL: 2.9.0OpenGL: GeForce GTX 660/PCIe/SSE2 version 4.6.0 NVIDIA 388.13, NVIDIA Corporation
java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:418) at ModLoader.init(ModLoader.java:809) at ModLoader.AddAllRenderers(ModLoader.java:183) at th.<init>(th.java:60) at th.<clinit>(th.java:9) at net.minecraft.client.Minecraft.a(SourceFile:318) at net.minecraft.client.Minecraft.run(SourceFile:716) at java.lang.Thread.run(Thread.java:745)--- END ERROR REPORT dba980f4 ----------
ModLoader is not compatible with the current (1.6+) directory structure; you have to apply a patch which can be found here:
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/mods-discussion/1291855-a-custom-tweaker-for-using-older-modloaders-in-the
I do not know if this still works (it was posted 5 years ago, the download itself is still up; replies are mixed as to whether it works but it was only tested on 1.2.5, 1.4.7, and 1.5.2); otherwise, you may have to try a 3rd party launcher like Magic Launcher or MultiMC which can replicate the old environment (I do not have any experience with them but I've heard that one or the other can do this; they also make it much easier to install mods as you can just drop them in a folder and select them).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?