Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


Logo

# 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.gradle

repositories {
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.properties

tweed_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.