Forge 1.7 early release setup

In this tutorial I’m going to show you how to set up an early version of Forge. Just like the VERY early release, only use it if you know what you are doing because it isn’t done yet. However, you are able to release mods for 1.7 with this version if you take your time and understand Java good enough.

For this tutorial I assume you have followed the setup for 1.6.2 and the ForgeGradle setup.

The first thing you have to do is grab a new Forge from the build server. Right now this tutorial works for Forge #976. However, there may be some differences for newer versions and older versions. If so I will update the tutorial as soon as I know of them. If a newer version is out and it doesn’t work leave a comment and use the version above. Then I will take a look at what is wrong.

First extract the src zip you downloaded. Before you can run this correctly there is an empty folder you will have to add. Navigate to build. In there create a folder called unpacked. Then in there a folder called conf. And finally in there a folder called patches.

Now run the follwing command first.

Once it is done you should run the next command.

This will set up the development environment for Eclipse.

Now you don’t need the command prompt anymore. The next thing you have to do is create a new folder. The folder can have any name and it’s where you will point Eclipse to. Once you have made the folder open Eclipse and set it to that folder. You will likely have a window that doesn’t contain any code. Go to the workspace by hitting the button on the top right. After that you will have to go the top left and select File and then Import… Next open up the General folder at the top and finally Existing Projects into Workspace. This will open up a new window in which you should click the Browse button. Then browse to the forge folder and select that and then hit finish.

The next thing you will have to do is create a Java application to run it. To do this click on the downward arrow just right of the green run button. Then go to Java Application on the left and right click that. Then select New.

Now set the name to something like: Run Client

Then for the Project select the Forge project which is in my case: forge-1.7.2-10.12.0.971-src

Next set the Main class to: net.minecraft.launchwrapper.Launch

Then you should navigate to the Arguments tab. In there are 2 things you should add. First the Program Arguments:

And finally the VM arguments:

If you just copy all of these straight from this page and paste them in there you should have a working Minecraft Client for you to play with your own mods.

To get to the Minecraft source code you can open the forge library which should be at the bottom of the library list. You can’t edit any of the code in there, but you can look through it to learn why and how something works in Minecraft.

One important thing to note is that the generation of a fresh world doesn’t exactly work. When you create a normal world it will crash. If you start that world multiple times it may work after a while though. Alternatively create a flat world which will work.

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="">