-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Meredith Espinosa edited this page Apr 27, 2019
·
9 revisions
This is a wiki intended for mod developers that intend to use the cotton API in their mod. If you are a user make sure to check out our guide for players instead.
Cotton and its related mods are hosted on the Cotton maven. In your non-buildscript repositories block, add the following line:
maven { url 'http://server.bbkr.space:8081/artifactory/libs-snapshot' }
Then, in your non-buildscript dependencies block, add modCompile "io.github.cottonmc:cotton:<version>" and optionally include "io.github.cottonmc:cotton:<version>". The most recent version can be found here:
We recommend that you start by looking at the Config Manager and the Mod Logger. Feel free to join our discord if you have any questions.