Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siphalor/tweed-api
Yet another fabric config attempt.
https://github.com/siphalor/tweed-api
fabricmc fabricmc-mod library minecraft minecraft-fabric minecraft-fabric-mod minecraft-mod
Last synced: 2 months ago
JSON representation
Yet another fabric config attempt.
- Host: GitHub
- URL: https://github.com/siphalor/tweed-api
- Owner: Siphalor
- License: apache-2.0
- Created: 2019-03-28T21:15:46.000Z (over 5 years ago)
- Default Branch: v4-1.16
- Last Pushed: 2024-07-20T10:47:41.000Z (5 months ago)
- Last Synced: 2024-10-14T06:21:56.562Z (2 months ago)
- Topics: fabricmc, fabricmc-mod, library, minecraft, minecraft-fabric, minecraft-fabric-mod, minecraft-mod
- Language: Java
- Homepage:
- Size: 1.24 MB
- Stars: 8
- Watchers: 3
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tweed 4
![supported Minecraft versions: 1.14 | 1.15 | 1.16 | 1.17 | 1.18 | 1.19 | 1.20](https://img.shields.io/badge/support%20for%20MC-1.14%20%7C%201.15%20%7C%201.16%20%7C%201.17%20%7C%201.18%20%7C%201.19%20%7C%201.20-%2356AD56?style=for-the-badge)
[![latest maven release](https://img.shields.io/maven-metadata/v?color=0f9fbc&metadataUrl=https%3A%2F%2Fmaven.siphalor.de%2Fde%2Fsiphalor%2Ftweed4%2Ftweed4-bom-1.16%2Fmaven-metadata.xml&style=flat-square)](https://maven.siphalor.de/de/siphalor/tweed4/)
Yet another config API.
## Usage
To get the dependencies working, you may use the following setup:
```groovy
// build.gradlerepositories {
maven { url 'https://maven.siphalor.de/' }
}dependencies {
include(modApi(platform("de.siphalor.tweed4:tweed4-bom-$minecraft_major_version:$tweed_version")))
// Pick any modules you want to use, e.g.:
include(modApi("de.siphalor.tweed4:tweed4-base-$minecraft_major_version"))
include(modApi("de.siphalor.tweed4:tweed4-annotated-$minecraft_major_version"))
include(modApi("de.siphalor.tweed4:tweed4-data-$minecraft_major_version"))
include(modApi("de.siphalor.tweed4:tweed4-data-hjson-$minecraft_major_version"))
}// Workaround for https://github.com/gradle/gradle/issues/10195
configurations.include.transitive = true
configurations.include.dependencies.each {
if (!it.name.contains("bom")) {
it.transitive = false
}
}
```Use can find the latest version in the badge at the top of this README.
```properties
# gradle.propertiestweed_version=
minecraft_major_version=1.16
```For a quick code example see [here](tweed-testmod/src/main/java/de/siphalor/tweedtest/Config.java).
## License
This mod is available under the Apache 2.0 License. Terms and conditions apply.