Step 3: Setting Up

Before I start… I will be using forge. I will always support Forge over ModLoader. You can read up on the features of Forge vs. ModLoader before you install it, but to summarize… There are at least 10 times as many tools at your disposal to keep compatibility high and make your life easier. It is constantly updated with new additions and bug fixes throughout the current minecraft version unlike ModLoader which only keeps updated to the latest minecraft version. Less hassle later, with the included FML and all the features, you (and your mod users) will have to install less APIs. If you have any questions, you can head over to esper.net and join #MinecraftForge. Get the files ready: You will need a clean .minecraft folder to set up your workspace. To do this you can backup your entire .minecraft folder (keyword is BACKUP), then force update minecraft. Download: You're going to need to download three things before you start setting up. The latest eclipse can be found HERE, the latest Minecraft Forge SRC can be found HERE, and the latest MCP HERE. Setting up: Unzip the MCP release into a folder of your choice, I usually keep all my MCP folders in a "Mods" folder on my desktop. In the Minecraft Forge Source download, there should be a single "forge" folder, you can extract this into the MCP folder (along with jars, runtime, etc). Now take your fresh .minecraft folder and put it into the MCP folder called "jars" (you only need the bin and resources folder, but it doesn't matter). Since Forge doesn't rely on ModLoader, you don't need to install it before continuing. Now you'll need the server jar which you can download from here. Also put that in the jars folder. The jars folder should now look like this (since 1.3.2, there's also a server.properties file and a servers.dat file): Now just head into the "forge" folder you just added into the MCP directory, and run the "install.cmd" file, depending on your OS, you might have to run a different one. This should take a little while depending on your system, but when it's done continue on. Finishing up: If you ran install.cmd or install.sh with no errors, then you should be ready to start modding! Just head over to your MCP/eclipse folder and copy the folder's location, mine is "X:\Users\Mitch\Desktop\Mods\NewMod\MCP\eclipse" for example. You can now install eclipse by extracting the folder to the location of your choice. Run eclipse by double-clicking on the eclipse.exe. When it asks for your workspace location, just paste in the location of your MCP/eclipse folder, then once it's loaded, navigate to "Client/src/net.minecraft.src/".

Previous                 Back to Tutorials Index                 Next

external links

social