Tags
Creators
Details
3.0.0
Compatibility
Required content
Changes
Ok so this one is QUITE the change, so a few things have changed, and ALL previous theme mods will need an update.
What is new?
Branding Change
This mod has outgrown its original name and does so much more than just theming around only servers. It seems fitting to take the opportunity to update the name to reflect how much it can actually do.
NOTE: THIS DOES MEAN THAT ANY MODS USING THIS LIBRARY WILL NEED TO UPDATE TO BE COMPATIBLE!
Specifically, a lot of references in code to the previous name have also been changed, BUT I kept the initials and mod link the same, so when mods update to use SMM-Lib v3.0.0 they will still get the version update, it just will have a lot of missing imports. (and some other changes, keep reading...)
Splash Text Overhaul (by @OffsetMonkey538)
You will notice a brand new SplashText class has appeared as the returned object for getSplashText()! This allows multi-line splash text to happen! Use SplashText.builder() to create a new Builder! You can add one or more lines then use the .build() when returning the Splash Text!
Also, in case you missed it last update changed from just raw Strings to Components, allowing for styling and translatable components if desired! There are some string fallbacks of the methods in the builder for simple uses, but if you're looking to get fancy feel free to use a Component instead!
If you need help updating, or just want examples, both Island Menu and smm-example-mod have been updated, so check out the recent changes there to see what I had to change!
What's Changed
- Add support for multiline splash text by @OffsetMonkey538 in https://github.com/MoSadie/SimpleMainMenu-Lib/pull/18
- Update name to SimpleMainMenu Lib by @MoSadie in https://github.com/MoSadie/SimpleMainMenu-Lib/pull/17
- v3.0.0, rebrand time! by @MoSadie in https://github.com/MoSadie/SimpleMainMenu-Lib/pull/20
Full Changelog: https://github.com/MoSadie/SimpleMainMenu-Lib/compare/v2.1.0...v3.0.0
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:AbWEdxPY:ofCecQjc"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:AbWEdxPY:ofCecQjc"
}

