ForgeGradle Tutorial - Setup

This tutorial will show how to work with ForgeGradle, how to setup an installation, how to start Minecraft and how to setup Flans Mod.

This tutorial is made for Flan's Mod 5.0, and Minecraft 1.8., ForgeGradle 1.8-11.14.3.1502 is used. But all steps shown here are also working with ForgeGradle for MC 1.72 and 1.7.10.

I used the last Src version. The newer Mdk version seems to be not ok currently (22.09.2015).

 

Preparations:

  1. Install the Java JDK (Java. This is required even if have have already installed the Java JRE. Download here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
  2. Set the JAVA_HOME variable into your system.
  3. Internet must be available the whole time during installation.

 

1. Setup ForgeGradle

  1. Go to files.minecraftforge.net



  2. Selcet "Show all downloads"


  3. Select the version you want and download it. I used the 1502.


  4. Unpack the zip file to a folder of your choice. For this tutorial i created a folder called Forge on the Desktop. The content should look like the picture.


  5. Open a command shell by entering "cmd" into the search field and pressing Enter.


  6. Go to this command shell window.


  7. Change the directory with the "cd" command to the folder where you unpacked ForgeGradle to.


  8. Type "gradlew setupdecompworkspace" into the command shell and execute it with Enter.


  9. It will take some time and ForgeGradle will install some stuff from the internet.


  10. Type "gradlew setupdevworkspace" into the command shell and execute it with Enter.


  11. ForgeGradle will download some more stuff and build it


  12. Type "gradlew eclipse" into the command shell and execute it with Enter.


  13. ForgeGradle will download the components for eclipse


  14. That's it, ForgeGradle is now ready to use. 

 

2. Run Minecraft

  1.  Open the command shell, change the folder to your ForgeGradle folder and type in "gradlew runclient"


  2. ForgeGradle will now start to build up Minecraft.


  3. After few seconds Minecraft should be ready to use (depends on your computer)


  4. At the bottom you can see mow that ForgeGradle is up and running

 

3. Install Flan's Mod into ForgeGradle

  1. Go to Github. You will find Flan's Mod Page here: https://github.com/FlansMods/FlansMod/


  2. Change the branch to the version you want to use (1.8 or 1.7.10). You have to do this. Otherwise you will download the outdated master version.


  3. Download the Version by pressing "Download Zip"


  4. Go to your download folder and open the just downloaded file with a packing tool. I prefer WinRAR for this.


  5. Once you have opend the file, you will see a folder call FlansMod-1.8 (Depends on the Version, i can also called FlansMod-master or FlansMod-1.7.10). Go into this folder.


  6. Here we find all files for Flan's Mod. Select them all.


  7. Unpack all Files to the ForgeGradle folder. You will be asked to overwrite some files, this is ok. It will replace the normal files with mod files.


  8. When finished the folder should look like this. To check the folder look at the bottom. There should now be a README.md.


  9. If you open this file you will find a note from Flan.


  10. Now run Minecraft again


  11. You now will have 6 mods running, Forge and Flans Mod + Flans Apocalypse Mod


  12. In the Game you will now have the tab for the mod and all models.


  13. Now you ForgeGradle is ready to build and compile model packages.

 

 

Comments (6)

this worked fine until i added flans mod 1.7.10 from github now when i try to run it i get this

  Attachments
 

When I follow this tutorial (exactly step-for-step), it does not appear to work after I move the files from Flan 1.7.10 to the ForgeGradle folder. When I run "gradlew runclient" before inserting any files from Flan's Mod, it works out just fine....

When I follow this tutorial (exactly step-for-step), it does not appear to work after I move the files from Flan 1.7.10 to the ForgeGradle folder. When I run "gradlew runclient" before inserting any files from Flan's Mod, it works out just fine. But when I try the same command after moving the files, the build fails. Here is the link to the output: http://pastebin.com/5J4ew3KA

Read More
  Attachments
 

that actually still helped me, thx Manus

  Attachments
 

Hey Manus how can you use Gradle in the toolbox now ? Must have something to install so that the package manager does ?

  Attachments
 

HELP! MCP is not working and BUILD FAILED! What's the probrem...

  Attachments
 

Em..Content Packege tut pls? without toolbox 2.0 packege system

  Attachments
 
There are no comments posted here yet

Leave your comments

Posting comment as a guest. Sign up or login to your account.
Attachments (0 / 3)
Share Your Location
 
Latest Forum Posts
 
Latest Blog Posts
 
User Online
 
User Menu