Setting up Minecraft Forge for Minecraft 1.7 requires you to do quite a lot of things. In the next few tutorials I will explain everything you will have to do.
Before you can start modding there are some programs you require to have on your pc. The first one is the Java SDK. Download the Java SDK over here. You want Java SE Development Kit 8u102. Select the correct version for your operating system. I am running Windows 7 32-Bit, so I would download Windows x86.
Now we have to set our Java Environment Variables. First you are going to go to My Computer, and Right Click and Click Properties.
Now you are going to click Environment Variables.
Now under System Variables (NOT User Variables) Find variable PATH, if there is no variable called PATH (any case) then click New, and add the following Variable.
Variable Name: PATH
Variable Value: [Where You installed Java Development Kit]\bin
If there is anything already in the Variable Value then add Quotes and semi-colons : "othervariable"; "[Where You installed Java Development Kit]\bin";
Here is my Variable Value:
Here is my Variable Value:
Then you just save those settings, and you may have to restart your computer.
Now you are going to have to do is download Minecraft Forge. I suggest 10.13.4.1448 as that is the version I am going to be using. You are going to need to get the Src. You can get by clicking below.
I suggest Adding these files to make buildiong and testing your mod easier.
After you have those files extracted then you are going to need to open a command prompt as Administrator.
Once you have command prompt open then enter the following command.
cd [Directory where you extracted the files]
Here is what mine is:
Now you are going the enter the following command:
If you get this error then you did something wrong (Most Likely you just entered the wrong directory, or something is misspelled).
'gradlew' is not recognized as an internal or external command,
operable program or batch file.
Just let it run until you see Build Successful. It may take a while depending on you internet speed and its your first time.
And you should get the same results.
Now to download Eclipse.
You want Eclipse IDE for Java Developers
Be sure to download the right version for your OS.
In the folder from before "TutorialMod" you are going to need to create a new folder inside that folder and name it 'Eclipse.Data", and extracet what you just downloaded into that folder.
Now find "eclipse.exe" and run it.
Enter the directory path with "\eclipse" on the end.
This is what your package explore should look like:
As you can see there is an example mod for you, but we will delete that once we start modding. You should now have the options to run Minecraft. Just click the middle play button and if you done everything correctly then Minecraft should run.
As you can see Minecraft started for me, and it should for you too.