Links
Tags
Creators
Details
1.2-BETA-6
Compatibility
Required content
Changes
Messages now use the more flexible MiniMessage for formatting instead of the outdated color codes. Read more about MiniMessage. Placeholder API is now a required dependency.
Add-on developers are now encouraged to use Minecraft Text instead of String for any displayed messages (season name, weather name, chat message). Special getText and addTextValue methods have been added to ConfigFileObject and ConfigContentObject for this purpose.
All config files now have a version (default 1). Now you can easily and safely update values in configs to the new format without the user noticing, for this you need to override the update method in your class that extends ConfigFileObject.
MiniMessage is included to the jar!
Full Changelog: https://github.com/kochkaev/seasons-api/compare/1.2-BETA-5...1.2-BETA-6
Optional dependencies
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| seasons-api-1.2-BETA-6-sources.jar | Unknown | 4.57 MiB |
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:rt8g9z2U:HQYwXUgu"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:rt8g9z2U:HQYwXUgu"
}




