Now, I have finally found a way to make Forge 1.6.4 MDK work!
Here are the steps you should follow:
1. Go to https://files.minecraftforge.net, select version 1.6.4, download SRC of the build 9.11.1.964 (that's the version that uses Gradle instead of MCP) and extract the SRC ZIP to a folder
2. Go to gradle/wrapper/gradle-wrapper.properties, change "http" to "https" and change the Gradle version from 1.8 to 3.0
3. Open the command prompt, set the command directory to whichever folder you've extracted the SRC ZIP to, and try to run the command "gradlew"
4. This time the build should succeed, and if it does, then try running "gradlew setupDevWorkspace". Then, the build should fail, and if it does, try these:
5. To get the assets index ("legacy.json"), look at your own ".minecraft/assets/indexes" folder, then copy the "legacy.json" file and paste it to "Users/<your username>/.gradle/caches/minecraft/assets/indexes"
6. To get the assets, copy the ".minecraft/assets/objects" and ".minecraft/assets/virtual" folders and paste them to the "Users/<your username>/.gradle/caches/minecraft/assets/" folder
7. To get the client and server JARs, download them from the Minecraft Wiki page for 1.6.4 (https://minecraft.wiki/w/Java_Edition_1.6.4), then rename the "client.jar" to "minecraft-1.6.4.jar" and "server.jar" to "minecraft_server-1.6.4.jar"
8. Move the "minecraft-1.6.4.jar" file to ".gradle/caches/minecraft/net/minecraft/minecraft" and the "minecraft_server-1.6.4.jar" file to ".gradle/caches/minecraft/net/minecraft/minecraft_server"
9. After all of this, try running "gradlew setupDevWorkspace -x getAssetsIndex -x getAssets -x copyAssets -x downloadClient -x downloadServer" (these -x tags are obligatory since without them, Gradle will try to download files it now cannot)
10. This time the build should succeed, and if it does, then you now have a functioning Minecraft 1.6.4 Forge MDK!
11. If you want to work with an IDE, then add "idea" (for IntelliJ IDEA) or "eclipse" (for Eclipse) to the "gradlew setupDevWorkspace" command, i.e. either "gradlew setupDevWorkspace idea -x getAssetsIndex -x getAssets -x copyAssets -x downloadClient -x downloadServer" or "gradlew setupDevWorkspace eclipse -x getAssetsIndex -x getAssets -x copyAssets -x downloadClient -x downloadServer
This takes a lot of effort, but I think it's worth it, as this is (apparently) the only way to make Forge 1.6.4 work for making mods.
As for versions below 1.6, there is also a way I have tested with Forge 1.5.2. Here are the steps for that:
1.Go to https://files.minecraftforge.net, select version 1.5.2, download the SRC of the build 7.8.1.738 (the latest version) and extract the SRC ZIP to a folder
2. Open the command prompt, set the command directory to whichever folder you've extracted the SRC ZIP to, and try to run the command "install"
3. It will try then fail to download MCP 7.51, so instead, download it manually- download the MCP archive from https://archive.org/details/minecraftcoderpack, find the 1.5.2 version inside the ZIP, which is "minecraft/1.5.2/mcp751.zip", then create a "mcp" folder where you have extracted the SRC to and extract the content of that ZIP file to the "mcp" folder
5. Get the LWJGL and JInput files manually from ".minecraft/libraries" (LWJGL: "/org/lwjgl/lwjgl/" and "/org/lwjgl/lwjgl_util/", JInput: "net/java/jinput/"), copy the respective files and paste them to "mcp/jars/bin" (and in order to ensure that MCP recognizes them, rename these ".jar" files to "lwjgl.jar", "lwjgl_util.jar" and "jinput.jar"),
6. In order to get the natives, look at ".minecraft/bin", delete whatever is in it, run Minecraft 1.5.2, then get the necessary files from that one folder that appears in "bin" (its name is random but it shouldn't matter that much if you delete all other folders in "bin" before running the game), zip all files in that folder into a file named "<your OS name in lowercase, e.g. "windows", "macosx", "linux">_natives.jar" (and to make it a JAR file, first make a ZIP and then change its extension to JAR), and place that file in "mcp/jars/bin/natives"- and in order to stop the "zipfile.BadZipfile" error that may emerge from Forge attempting to download other OS natives, copy your original natives JAR, rename it to the other two OSes (e.g. "windows_natives.jar" -> rename copies as "macosx_natives.jar" and "linux_natives.jar"), and put these files in "mcp/jars/bin/natives" again
7. Download the client and server JARs from the Minecraft Wiki page again (https://minecraft.wiki/w/Java_Edition_1.5.2), rename the client JAR to "minecraft.jar" and the server JAR to "minecraft_server.jar", move the "minecraft.jar" to "mcp/jars/bin" and the "minecraft_server.jar" to "mcp/jars" (not to "mcp/jars/bin")
8. After all of this, retry running "install" on the command prompt. This time, it should succeed (albeit it takes a long time for it to decompile, patch, recompile etc.), and if does, then congratulations- you can now mod for Minecraft 1.5.2 through Forge!
(9.) I don't remember how to install an IDE workspace with MCP, so for that, I would suggest looking at other tutorials
The second method should (theoretically) also work for 1.4.x, 1.3.x, or 1.2.x (, and in that case, you have to download different libraries and different client/server JARs to match your version. If it doesn't work, then please write here which error(s) you are experiencing and I will try to help as much as I can.
As for other versions, this tutorial will definitely not work for 1.1 or lower versions (e.g. Beta 1.7.3), and that is because 1.1 and below use MCP and/or mod loaders other than Forge for modding; while for 1.7 and above (e.g. 1.7.10, 1.8.9, 1.12.2 etc.), Forge MDK should work for these versions when you make some extra settings.
You shouldn't be using the Fandom Wiki as it is not as well-maintained after the Wiki officially moved to minecraft.wiki, e.g. https://minecraft.wiki/w/Java_Edition_1.6.4 (apparently many people really dislike Fandom for reasons I'm not sure of, maybe because when they acquired these forums and the Wiki (which used to be on Gamepedia, which now redirects to Fandom) years back millions of EU users were purged, though that would have happened regardless of who acquired the sites).
Now, I have finally found a way to make Forge 1.6.4 MDK work!
Here are the steps you should follow:
1. Go to https://files.minecraftforge.net, select version 1.6.4, download SRC of the build 9.11.1.964 (that's the version that uses Gradle instead of MCP) and extract the SRC ZIP to a folder
2. Go to gradle/wrapper/gradle-wrapper.properties, change "http" to "https" and change the Gradle version from 1.8 to 3.0
3. Open the command prompt, set the command directory to whichever folder you've extracted the SRC ZIP to, and try to run the command "gradlew"
4. This time the build should succeed, and if it does, then try running "gradlew setupDevWorkspace". Then, the build should fail, and if it does, try these:
5. To get the assets index ("legacy.json"), look at your own ".minecraft/assets/indexes" folder, then copy the "legacy.json" file and paste it to "Users/<your username>/.gradle/caches/minecraft/assets/indexes"
6. To get the assets, copy the ".minecraft/assets/objects" and ".minecraft/assets/virtual" folders and paste them to the "Users/<your username>/.gradle/caches/minecraft/assets/" folder
7. To get the client and server JARs, download them from the Minecraft Wiki page for 1.6.4 (https://minecraft.wiki/w/Java_Edition_1.6.4), then rename the "client.jar" to "minecraft-1.6.4.jar" and "server.jar" to "minecraft_server-1.6.4.jar"
8. Move the "minecraft-1.6.4.jar" file to ".gradle/caches/minecraft/net/minecraft/minecraft" and the "minecraft_server-1.6.4.jar" file to ".gradle/caches/minecraft/net/minecraft/minecraft_server"
9. After all of this, try running "gradlew setupDevWorkspace -x getAssetsIndex -x getAssets -x copyAssets -x downloadClient -x downloadServer" (these -x tags are obligatory since without them, Gradle will try to download files it now cannot)
10. This time the build should succeed, and if it does, then you now have a functioning Minecraft 1.6.4 Forge MDK!
11. If you want to work with an IDE, then add "idea" (for IntelliJ IDEA) or "eclipse" (for Eclipse) to the "gradlew setupDevWorkspace" command, i.e. either "gradlew setupDevWorkspace idea -x getAssetsIndex -x getAssets -x copyAssets -x downloadClient -x downloadServer" or "gradlew setupDevWorkspace eclipse -x getAssetsIndex -x getAssets -x copyAssets -x downloadClient -x downloadServer
This takes a lot of effort, but I think it's worth it, as this is (apparently) the only way to make Forge 1.6.4 work for making mods.
As for versions below 1.6, there is also a way I have tested with Forge 1.5.2. Here are the steps for that:
1.Go to https://files.minecraftforge.net, select version 1.5.2, download the SRC of the build 7.8.1.738 (the latest version) and extract the SRC ZIP to a folder
2. Open the command prompt, set the command directory to whichever folder you've extracted the SRC ZIP to, and try to run the command "install"
3. It will try then fail to download MCP 7.51, so instead, download it manually- download the MCP archive from https://archive.org/details/minecraftcoderpack, find the 1.5.2 version inside the ZIP, which is "minecraft/1.5.2/mcp751.zip", then create a "mcp" folder where you have extracted the SRC to and extract the content of that ZIP file to the "mcp" folder
4. If you retry running "install", then it will try and fail to download the libraries- manually download these libraries from Wayback Machine (http://web.archive.org/web/20160126150649/http://files.minecraftforge.net/fmllibs/fml_libs_dev15.zip), then extract the contents of the said ZIP to "mcp/lib" in your SRC installation
5. Get the LWJGL and JInput files manually from ".minecraft/libraries" (LWJGL: "/org/lwjgl/lwjgl/" and "/org/lwjgl/lwjgl_util/", JInput: "net/java/jinput/"), copy the respective files and paste them to "mcp/jars/bin" (and in order to ensure that MCP recognizes them, rename these ".jar" files to "lwjgl.jar", "lwjgl_util.jar" and "jinput.jar"),
6. In order to get the natives, look at ".minecraft/bin", delete whatever is in it, run Minecraft 1.5.2, then get the necessary files from that one folder that appears in "bin" (its name is random but it shouldn't matter that much if you delete all other folders in "bin" before running the game), zip all files in that folder into a file named "<your OS name in lowercase, e.g. "windows", "macosx", "linux">_natives.jar" (and to make it a JAR file, first make a ZIP and then change its extension to JAR), and place that file in "mcp/jars/bin/natives"- and in order to stop the "zipfile.BadZipfile" error that may emerge from Forge attempting to download other OS natives, copy your original natives JAR, rename it to the other two OSes (e.g. "windows_natives.jar" -> rename copies as "macosx_natives.jar" and "linux_natives.jar"), and put these files in "mcp/jars/bin/natives" again
7. Download the client and server JARs from the Minecraft Wiki page again (https://minecraft.wiki/w/Java_Edition_1.5.2), rename the client JAR to "minecraft.jar" and the server JAR to "minecraft_server.jar", move the "minecraft.jar" to "mcp/jars/bin" and the "minecraft_server.jar" to "mcp/jars" (not to "mcp/jars/bin")
8. After all of this, retry running "install" on the command prompt. This time, it should succeed (albeit it takes a long time for it to decompile, patch, recompile etc.), and if does, then congratulations- you can now mod for Minecraft 1.5.2 through Forge!
(9.) I don't remember how to install an IDE workspace with MCP, so for that, I would suggest looking at other tutorials
The second method should (theoretically) also work for 1.4.x, 1.3.x, or 1.2.x (, and in that case, you have to download different libraries and different client/server JARs to match your version. If it doesn't work, then please write here which error(s) you are experiencing and I will try to help as much as I can.
As for other versions, this tutorial will definitely not work for 1.1 or lower versions (e.g. Beta 1.7.3), and that is because 1.1 and below use MCP and/or mod loaders other than Forge for modding; while for 1.7 and above (e.g. 1.7.10, 1.8.9, 1.12.2 etc.), Forge MDK should work for these versions when you make some extra settings.
If you want to make mods for Minecraft 1.6.4 with Forge, here is how you can do it- it is no longer impossible.
You shouldn't be using the Fandom Wiki as it is not as well-maintained after the Wiki officially moved to minecraft.wiki, e.g. https://minecraft.wiki/w/Java_Edition_1.6.4 (apparently many people really dislike Fandom for reasons I'm not sure of, maybe because when they acquired these forums and the Wiki (which used to be on Gamepedia, which now redirects to Fandom) years back millions of EU users were purged, though that would have happened regardless of who acquired the sites).
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?
Okay, I have edited the links from Fandom to Minecraft Wiki.
Has anyone tried installing Forge 1.6.4 with these steps? If yes, does it work for you?
If you want to make mods for Minecraft 1.6.4 with Forge, here is how you can do it- it is no longer impossible.