Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Latest commit

 

History

History
50 lines (32 loc) · 1.34 KB

Quick Setup Guide.md

File metadata and controls

50 lines (32 loc) · 1.34 KB

Welcome:

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.

The basics:

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.

Setting up the project:

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 your mod

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:

For Linux:

./gradlew build

For Windows PowerShell:

./gradlew build

The build outputs in build/cmf