It's possible to use create an MCP installation for versions of Minecraft where there hasn't been a full MCP release. It takes a little bit of manual setup, but the end result is highly useful.
-
Download and extract the most recent MCP build from http://www.modcoderpack.com/. (Currently, the latest build is http://www.modcoderpack.com/files/mcp940.zip)
-
Edit
version.cfg
in theconf
folder, and changeClientVersion
andServerVersion
to the version you want (for instance, 1.12.2). -
Download the SRG zip for the version you want; these can generally be found at
http://mcpbot.bspk.rs/mcp/<version>/mcp-<version>-srg.zip
(for example, http://mcpbot.bspk.rs/mcp/1.11.2/mcp-1.11.2-srg.zip) or athttp://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/<version>/mcp-<version>-srg.zip
(for example, http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.12.2/mcp-1.12.2-srg.zip). (For 1.12.1 and 1.12.2, only the minecraftforge link works) -
Extract that zip into the MCP
conf
folder, overwriting files and the contents of thepatches
folder. -
Download the latest daily mappings from http://export.mcpbot.bspk.rs/. Even if they aren't for exactly the version you want, they will generally work.
-
Extract the mapping zip into the MCP
conf
folder, overwriting files. -
Run MCP's
decompile.bat
as you normally would.
Note that for this to work, there must be a released SRG file for the version you want. The SRG file is what converts obfuscated names into an intermediate step where names are (mostly) the same between versions; the mappings files convert those intermediate names into the names you see and are used to.
Note that as always, the MCP license applies, even for development builds. Please read the LICENSE.txt
included with MCP for more information about what you are and are not permitted to do.
An additional note: if you're using eclipse, you will need to manually fiddle with build paths due to updated libraries. You will also need to attach the native libraries, found in jars/versions/${VERSION}/${VERSION}-natives
, to the libraries (e.g. LWJGL) for the game to launch.