Compiling - Unknown025/Flans-Mod-Plus GitHub Wiki
Video link: https://www.youtube.com/watch?v=Pys1oDJ4G1c
- Download and install Java 8 JDK. You have a few different options:
- Set your JAVA_HOME variable to this new JDK home.
- Download the Forge MDK Click "src" here
- 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
. - Drag the contents of the Flan's Mod source zip onto your Forge folder, overwriting wherever the file already exists.
- Open up a command prompt, and run the commands: (use
bash gradlew
on Unix,./gradlew
on Linux, andgradlew.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.