Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cottonmc/cottonresources
- Owner: CottonMC
- License: mit
- Created: 2018-12-27T01:44:45.000Z (about 6 years ago)
- Default Branch: 1.15.2
- Last Pushed: 2020-12-10T17:51:32.000Z (about 4 years ago)
- Last Synced: 2023-06-08T23:28:42.387Z (over 1 year ago)
- Topics: api, fabric, hacktoberfest, library, minecraft
- Language: Java
- Homepage:
- Size: 940 KB
- Stars: 16
- Watchers: 5
- Forks: 14
- Open Issues: 18
-
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",
}
```