1.0.0
Compatibility
Changes
The mod has been rebuilt with the new backup strategy to fix compatibility with sable (create aeronautics & addons).
New approach — copy first, then zip:
saveAllChunks— Flush all chunks to disk (unchanged)copyDirectory— Recursively copy the entire world folder to a temp directory usingFiles.copy(source, target, REPLACE_EXISTING, COPY_ATTRIBUTES)— this path-to-path copy on Windows uses theCopyFileExAPI which can read locked files (unlike stream-basedFiles.newInputStream)copyFileWithRetries— If a file is still locked, retries up to 5 times with increasing backoff (500ms, 1000ms, 1500ms, 2000ms, 2500ms)zipDirectory— Zip from the temp copy (no file locks since it's our own copy)deleteDirectory— Clean up the temp directory in thefinallyblock
This ensures the backup captures the complete world including files that are locked by Sable or other mods, because the path-to-path copy operates at the filesystem level where Windows can handle shared locks. The zip step then works from our own clean copy with zero lock conflicts.
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:dv7rPmU8:9MexhgnS"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:dv7rPmU8:9MexhgnS"
}
