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: 8 months ago
JSON representation
Reference mod for ores, ingots, tools, liquids, and all you can imagine.
- Host: GitHub
- URL: https://github.com/cottonmc/cottonresources
- Owner: CottonMC
- License: mit
- Created: 2018-12-27T01:44:45.000Z (over 7 years ago)
- Default Branch: 1.15.2
- Last Pushed: 2020-12-10T17:51:32.000Z (over 5 years ago)
- Last Synced: 2025-04-23T18:05:25.142Z (about 1 year ago)
- Topics: api, fabric, hacktoberfest, library, minecraft
- Language: Java
- Homepage:
- Size: 940 KB
- Stars: 16
- Watchers: 4
- Forks: 12
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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",
}
```