Skip to content

Siphalor/tweed-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Tweed 4

supported Minecraft versions: 1.14 | 1.15 | 1.16 | 1.17 | 1.18 | 1.19 | 1.20

latest maven release

Yet another config API.

Usage

To get the dependencies working, you may use the following setup:

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

# gradle.properties

tweed_version=<latest version from badge>
minecraft_major_version=1.16

For a quick code example see here.

License

This mod is available under the Apache 2.0 License. Terms and conditions apply.