Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cottonmc/cottonresources

Reference mod for ores, ingots, tools, liquids, and all you can imagine.
https://github.com/cottonmc/cottonresources

api fabric hacktoberfest library minecraft

Last synced: about 2 months ago
JSON representation

Reference mod for ores, ingots, tools, liquids, and all you can imagine.

Awesome Lists containing this project

README

        

# Cotton Resources

## Importing

Include the Cotton maven in your `build.gradle`:

```groovy
repositories {
...
maven {
name = "Cotton"
url = "https://server.bbkr.space/artifactory/libs-release/"
}
}
```

Include Cotton Resources in your `build.gradle`:

```groovy
dependencies {
/* this will expose the dependency to anyone building against your mod. You might
want to set this to modImplementation for production */
modApi "io.github.cottonmc:cotton-resources:${cotton_resources_version}"

/* this will package cotton-resources in your jar. skip if you don't want this */
include "io.github.cottonmc:cotton-resources:${cotton_resources_version}"
}
```

Set the version in `gradle.properties`:
```properties
cotton_resources_version=1.5.1+1.15.2
```

Tell Loader about your dependency in `fabric.mod.json`:
```
"depends": {
"fabric": "*",
...

"cotton-resources": ">=1.5.1",
}
```