

Obviously, all code in this tutorial is copyrighted by Mojang AB.

zip file to whatever directory you please. You can download it from the official MCP website, and just extract the. It decompiles your minecraft.jar into readable.
#Minecraft jar 1.6.4 how to
Hopefully this will make it easier for people to learn how to do things like creating custom entities, which use a lot of NMS methods. Step 1: Downloading the Minecraft Coder Pack The Minecraft Coder Pack (MCP) is a tool used by anyone who is interested in producing client mods. Keep in mind that you can't use the method names in the decompiled files, you'll have to match up the methods using the ones on the mc-dev github. You may get a couple of errors, just ignore them.Īssuming that everything decompiled correctly, all you have to do now is open Eclipse using the "eclipse" folder in MCP as your workspace.Ĭongratulations! You've successfully decompiled the Minecraft server.jar, and now are ready to bask in the glory of understandable code. minecraft folder into the jars folder as well, as I'm 99% sure MCP won't decompile your jars without it.Īfter you've placed your folders/jars in the proper directory, just run decompile.bat, and let MCP work its magic. Copy/paste your bin and resources folder from your. Download minecraft_server.jar for whichever version you please (versions below 1.7.2 can be found here), and copy/paste it into the jars folder of MCP. This step only requires the "jars" folder, everything else can be ignored for now. When you look into the extracted folder, you'll notice a large array of folders, batch files, and shell scripts. The Minecraft Coder Pack (MCP) is a tool used by anyone who is interested in producing client mods. Step 1: Downloading the Minecraft Coder Pack If this class alone doesn't convince you, I don't know what will. See the difference? The methods and variables have actual names, and there's even handy little comments explaining some of them.
