Wuppy’s Minecraft Forge Modding Tutorials for 1.6.2: Set-up

In this tutorial I will explain how to set up your development environment for MC 1.6.2.

The best way to get everything set up is by watching the video tutorial for it.

There are quite a few things you have to do to get everything set up.

Setting up JDK (skip if you already coded anything in Java)

1. Download Java JDK
2. Install the Java JDK
3. Go to the folder where you have it installed, it should be something like: C:\Program Files\Java\jdk1.7.0_21\bin
4. Copy that folder name
5. Right click on Computer in your start screen and select Properties
6. Click Advanced System Settings (lowest button on the left)
7. Click the Environment Variables button at the bottom which opens up a new window. In that window should be something like “User variables for [your user name]”. In there should be 2 variables. TMP and TEMP.
8. Now hit the new button right under that part of the window (so User variables, not System variables).
The Variable name has to be: Path.
The Variable value has to be: C:\Program Files\Java\jdk1.7.0_21\bin (or whatever your install location is)
9. Hit OK, OK, Apply, OK and the window should all be closed and everything saved.
10. To test if the JDK is installed properly open your cmd and type: javac. If you get a whole list of commands printed out it is installed.

Setting up Eclipse and Forge

There are currently 2 main ways to set up your Forge. The easiest and fastest way is to use the simple install file in forge. The other takes a whole lot longer to set up and is also much more complicated. However, if you use this second way, which some call the “Pahimar setup” you will have a much better and more organised setup.
I will be showing the simple setup. If you want to see how to do the Pahimar setup take a look at his video over here.
You should use the pahimar setup if you want to make a very big mod or multiple ones, but for learning you may as well stick to the basic setup. Personally I use the Pahimar setup.
Here is how you do the simple setup.
1. Download Eclipse over here. Make sure you get the Eclipse IDE for Java EE Developers.
2. Download the newest version of the forge code over here. You need the src download for this.
3. Extract Eclipse into a folder where you want to be programming in.
4. Extract Forge where you want your code to go.
5. When you have extracted the Forge you should see a install.bat or install.sh. Start this program and it will install Forge, MCP and everything else you need to start coding. This can take a long time. It has to download over 40 libraries and almost 600 resources (images, lang files etc.) which takes time.
6. When the install file is done exit out of the program and start your Eclipse.exe.
7. This will open up a screen which asks you to select a workspace. Click the browse button and navigate to the location where you have forge installed. Then go to: forge/mcp/eclipse. Select the eclipse map and hit Ok.
8. On the left you can see the Minecraft project. In there you can find all the source code for Minecraft, Forge and FML. You are now ready to start modding for Minecraft.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">