[Tutorial] Setting up a Forge Development Environment for noobs

Discussion in 'Mod Discussion' started by portablejim, Jan 10, 2014.

  1. portablejim

    portablejim Well-Known Member Mod Developer

    I will teach you, with the help of LexManos' Youtube video, how to set-up a Forge development environment and make the example mod.

    1) Prerequisites
    You will need to install the following software:
    • Java Runtime Environment (JRE). You should already have this. It lets you play FTB. Just make sure if you have a 64 bit system you have the 64-bit version of Java installed.
    • Java Development Kit (JDK). You want just the plain JDK (first set of downloads). Just click close when it is installed (don't click "next steps")
    • Eclipse Standard. An Integrated Development Environment (IDE). While you can code using just a text editor, this helps out by pointing out mistakes and offering suggestions, etc. while you code. Install by extracting the Zip file to your desktop.
    • Notepad++. A text editor with extra features, such as not messing up the files you are going to open like normal Notepad does.
    2) Setting up environment
    You can follow along in the video: Forge Gradle Setup, updating and release.

    Now download forge from files.minecraftforge.net. Get the "(Src)" download for 9.11.1.964 (adf.ly link, normal link). You may need to scroll down a little bit to see the correct download. The "*" link after each download is for the non adf.ly link. Don't get 9.11.1.965 (even though it says it is recommended)

    Make a folder on your desktop called "ExampleMod" and extract the Forge zip into it. You should see a file named "gradlew" and a folder named "src" in the ExampleMod folder

    Open up Command Prompt and type
    Code:
    cd Desktop/ExampleMod
    Then type
    Code:
    gradlew setupDevEnvironment eclipse
    Please note that the first time you do this it will take longer (than in the video) because it has to download everything.

    (Incomplete post, will complete soon)
     
    Last edited: Jan 11, 2014
  2. Tvi016

    Tvi016 Active Member

    Cool

    Sent from my HTC One mini using Tapatalk
     

Share This Page