1.0.1
Compatibility
Changes
v1.0.1
This pull request introduces several changes across workflows, configuration files, and Java source code to enhance the release process, improve configuration migration, and add a new feature for refreshing the tab list periodically. Below are the most important changes grouped by theme.
Workflow Enhancements:
- Updated
.github/workflows/alpha.yml,.github/workflows/beta.yml, and.github/workflows/main.ymlto rename workflows for clarity (e.g., "Release & Publish Packages") and added steps for publishing artifacts to GitHub Packages, Hangar, and Modrinth. Each workflow now targets specific branches (alpha,beta, andmain) and includes comments for better understanding.
Configuration Migration:
- Modified
migrateConfiginLyttleTab.javato handle migration fromconfig_version0 to 1 by transferring thetab_list_refresh_intervalvalue from the default configuration to the main configuration. - Updated
src/main/resources/#defaults/config.ymlandsrc/main/resources/config.ymlto setconfig_versionto 1, indicating the migration is complete.
New Feature - Tab List Refresh:
- Added a new configuration option
tab_list_refresh_intervalintab.ymlto specify the interval for refreshing the tab list. - Updated
TabHandler.javato schedule periodic tab list refreshes using the interval defined in the configuration. - Simplified the
refreshTabListmethod to use a lambda expression for better readability.
Plugin Version Update:
- Incremented the plugin version in
gradle.propertiesfrom1.0.0to1.0.1to reflect the new changes.
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:f7woQyDJ:siGA6bYr"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:f7woQyDJ:siGA6bYr"
}

