Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I've recently changed to the new Minecraft launcher, and I have noticed a change in the .minecraft folder layout. I can no longer install mods just by copying it over into the versions/1.6.1 jar file, as this file refreshes every time it is launched.

For those who don't know what I am talking about, here is the new layout:

New minecraft folder layout.

I am specifically trying to install Optifine, which does work with 1.6.1. Where do I drag in the mod files now? I can't seem to find a jar file that is suited to it, except in the version folder, but as I stated above, this refreshes every time.

After copying a recent version and renaming it in the version folder, I get this error in the development console:

Unexpected exception refreshing version list
java.lang.IllegalArgumentException: Version '1.6.1' is already tracked
    at net.minecraft.launcher.updater.VersionList.addVersion(VersionList.java:91)
    at net.minecraft.launcher.updater.LocalVersionList.refreshVersions(LocalVersionList.java:44)
    at net.minecraft.launcher.updater.VersionManager.refreshVersions(VersionManager.java:47)
    at net.minecraft.launcher.Launcher$2.run(Launcher.java:164)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
share|improve this question
1  
Where is this version of Optifine coming from? I went looking for the official install instructions, but I only see versions for 1.5.2 available on the official Optifine site. –  SevenSidedDie Jun 30 '13 at 8:37
    
Regardless, this error is showing up with no mods aswell. I search optifine 1.6.1 and I believe it was minecraftdl. –  ReallyGoodPie Jun 30 '13 at 10:04
1  
MinecraftDL is an illicit mod redistribution site with no content oversight. It's not a trustworthy download source. –  SevenSidedDie Jun 30 '13 at 20:15
    
But anyway, if you're getting that error without any mods then mods aren't relevant to the question, and it should be rewritten to clearly describe the situation in which the error occurs. –  SevenSidedDie Jun 30 '13 at 20:17
1  
Try to find the folder 'Versions' click 1.6.1 and find the Jar file :) or try to add a 'Profile' new function for Modded Clients :) –  user51068 Jul 1 '13 at 13:07

3 Answers 3

up vote 18 down vote accepted

There doesn't seem to be any official way. Then again, modding the game by splaying open and modifying the internals of the .jar file was never really officially supported, either. The new launcher is, ultimately, part of a rather large series of changes to Minecraft, including making mods actually something the game supports via the new Resource Pack stuff, but until that time, modding is a bit more awkward.

However, there's still a way to do it. Go into the versions folder inside .minecraft, and copy the version you want to mod. Rename the copied folder, and both the files inside, to some new name, say "modded 1.blah". Lastly, open the .json file in a text editor, and change the line that will read something like "id": "1.6.1", so that the ID matches the new name. The new launcher should now show a version "modded 1.blah" in the list, but since that version doesn't exist on the Minecraft servers, it won't get overwritten. Splay open and tinker with the .jar file in there the same way you always would with the old launcher.

Note:
If you are using the new launcher with an older version of Minecraft, then the mods you are using may attempt to access files in the bin folder directly. If this is the case, you can simply create a folder named 'bin' in the .minecraft folder where they are looking for it, and add the files the mod needs in there. The mod should find the files, and carry on as it used to, not knowing the difference.

share|improve this answer
    
I'm not getting anything in the local versions list. I have renamed everything, as you instructed to a random name, even the .json file. Usually I can figure these things out, but not this time. Is there an official link or something to this? –  ReallyGoodPie Jun 30 '13 at 8:17
    
@ReallyGoodPie, I had forgotten the step about changing the ID inside the .json file. Answer has been updated, sorry about that. –  Billy Mailman Jun 30 '13 at 15:53
    
Cheers, managed to figure it out before reading this again. Thankyou :) –  ReallyGoodPie Jul 1 '13 at 13:10
    
@Billy Mailman - I can't find the version in the Minecraft launcher. I went into edit profile and checked under the versions and it wasnt there. I have edited everything both in the .json file and I added a replica folder in the versions folder with the same name –  user51096 Jul 1 '13 at 22:24
1  
I just did the exact steps in my answer, and once I went in to Edit Profile, a "Release CUSTOM" option appeared in the list. Make sure you've got the latest launcher, and try again, maybe? –  Billy Mailman Jul 2 '13 at 0:04

If you're willing to download MagicLauncher in addition to your regular launcher, it supports the original <1.6 way of installing mods. Just copy the mod files into the .jar, and MagicLauncher won't overwrite it. You now only need the official launcher to get new releases.

share|improve this answer

There is a way. Go to your .minecraft folder, go into versions and click 1.6.1 then add a .zip file extension to 1.6.1.jar to make it 1.6.1.jar.zip. Double click it, then drag the mod files into the folder called 1.6.1.jar.

share|improve this answer
    
This has already been established to not work; the 1.6.1.jar file is updated every time. So any mods installed are removed on launch. See the above method. –  Unionhawk Jul 2 '13 at 1:48
    
This is downvoted beacsuse it is 1.6.1. This is 1.8 –  TheIdiotGamer Nov 12 at 0:22

protected by Community Jul 1 '13 at 22:27

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.