The mod has been rebuilt with the new backup strategy to fix compatibility with sable (create aeronautics & addons).
__New approach — copy first, then zip:__
1. __`saveAllChunks`__ — Flush all chunks to disk (unchanged)
2. __`copyDirectory`__ — Recursively copy the entire world folder to a temp directory using `Files.copy(source, target, REPLACE_EXISTING, COPY_ATTRIBUTES)` — this path-to-path copy on Windows uses the `CopyFileEx` API which can read locked files (unlike stream-based `Files.newInputStream`)
3. __`copyFileWithRetries`__ — If a file is still locked, retries up to 5 times with increasing backoff (500ms, 1000ms, 1500ms, 2000ms, 2500ms)
4. __`zipDirectory`__ — Zip from the temp copy (no file locks since it's our own copy)
5. __`deleteDirectory`__ — Clean up the temp directory in the `finally` block
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.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }