forked from war-monger/Flan-s-Mod-Plus-War_Monger
-
Notifications
You must be signed in to change notification settings - Fork 23
Compiling
GoldSloth edited this page Jan 15, 2023
·
3 revisions
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 gradlewon Unix,./gradlewon Linux, andgradlew.baton Windows).bash gradlew setupDecompWorkspacebash gradlew eclipsebash 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.