Hello and Welcome to the Cyan Modding Community! This guide will help you set up the mod project template you have just downloaded.
We assume you have read the license document, if you want to add another license alongside the modding license, you may rename it CYAN-MODDING-LICENSE.txt (not anything else) and add the license document you wish to use.
Lets get started, regular mods (modular modifications) in cyan's case, cannot make changes to the game code, that is what coremods are for. Cyan mods are compatible with multiple modloaders.
First, you will need to protect your mod, read SETUP-TRUST.md document if you haven't done so already. After that, you only need to run the following command(s) to create the eclipse launches:
For Linux:
chmod +x gradlew
./gradlew createEclipse
For Windows PowerShell:
./gradlew createEclipse
After running the commands, you can import the project in eclipse (as a Gradle project)
Building the CMF file is not too difficult, but it can take a long as it needs to remap the mod code for EVERY platform.
If you want to build the mod, run the following command depending on your operating system:
./gradlew build
./gradlew build
The build outputs in build/cmf