Deuteros
New Member
I couldn't find a guide anywhere on how to build existing modules. I think I've figured it out, this is what I've got so far:
- Download the Terasology source code, following the developers guide.
- If you forked, switch the branch to 'Master' so you are using the stable version.
- Make sure the core game works ok
- Go to a modules repository in Github (e.g. SimpleWater), and click 'Clone in Desktop' or 'Download ZIP'.
- Put the module source code folder in the Terasology/modules folder.
- Copy and paste 'build.gradle' from Core into the folder of the module you just downloaded.
- Open a command prompt, go to the terasology folder and enter 'gradlew idea'
- Open up intelliJ IDEA and the modules you've downloaded should appear in bold
- You might have to go to file... project structure... and choose a project SDK (e.g. Java 1.8)
- Run the game and check the module is working. If you used SimpleWater then you should see water move if you dig next to it.