Compiling - Unknown025/Flans-Mod-Plus GitHub Wiki

Video link: https://www.youtube.com/watch?v=Pys1oDJ4G1c

  1. Download and install Java 8 JDK. You have a few different options:
  2. Set your JAVA_HOME variable to this new JDK home.
  3. Download the Forge MDK Click "src" here
  4. Extract this zip into a suitable folder. Next, you need the source of Flan's Mod. You can do this by going to the main page and clicking "Code" and then "Download Zip". If you're familiar with using Git, you can also do git clone.
  5. Drag the contents of the Flan's Mod source zip onto your Forge folder, overwriting wherever the file already exists.
  6. Open up a command prompt, and run the commands: (use bash gradlew on Unix, ./gradlew on Linux, and gradlew.bat on Windows). bash gradlew setupDecompWorkspace bash gradlew eclipse bash gradlew build

You should now be able to connect to Eclipse or another IDE.

bash gradlew build produces a build in the build/output directory bash gradlew runClient runs a client, and bash gradlew runServer runs a server.

If you need any assistance, or you'd like to correct an error in this guide, please create an issue, and we'll respond as soon as we can.