Thursday, December 8, 2011

MC Modding 101: Part 1: Setting up MCP (WINDOWS)

Welcome to MC Modding/Hacking 101: Setting Up MCP for Windows.
I'll teach you everything you need to know in order to start hacking and modding Minecraft.

You will also need to have Java installed, as well as JDK for your appropriate Java version. Finally, set up your System Path Variables, using this tutorial, or any other you may find. Now you are ready to go!

First off, you'll want to head over to Ocean-Labs.de and download the latest version of MCP.
This will decompile Minecraft, making it much easier to read and edit.

Next, navigate to the folder you downloaded MCP to, in my case, Downloads.












Next, using Winrar or 7Zip, extract the MCP archive.












This will create a new folder, name mcp__, of course, the blanks will be numbers. But that will vary depending on the version of Minecraft/MCP you're using.

Now, navigate to your .minecraft folder, if you've never done this before, you can find it by opening "Run" from the Windows button, and typing %appdata%.













You will now see a folder called .minecraft, open it, and Ctrl+Click the two folders named "bin" and "resources", and then copy them.
















Now, you'll want to navigate back to your MCP folder, and open the "jars" folder. Next, paste the bin and resources folders into the jars folder.



Once that is all done, you are almost ready. All you need to do is run the decompile.bat in your main MCP folder. If all goes well, you should end up with a cmd window that looks identical to this.


Now you've got your code decompiled, next thing I will teach you is how to set up MCP with Eclipse, and make a basic mod.

No comments:

Post a Comment