Indestructible has not provided a startup server-side fix for a long time. As a result, my mod, Annoying Villagers Full, which relies on Indestructible, cannot run on multiplayer servers. While waiting for an official fix, this mod serves as a temporary solution.
You can also use this mod independently of Annoying Villagers, as it simply prevents Indestructible from crashing on multiplayer servers on startup.
⚠️ This mod is server-side only. Do not install it if you're playing in singleplayer or using it as a client-side mod. You can remove this mod once Indestructible provides an official fix.
Currently, if you install Indestructible on the server side with a custom Indestructible datapack, the game will crash with the following error:
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/apache/commons/compress/utils/Lists
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at net.minecraft.server.Main.main(Main.java:195) ~[server-1.20.1-20230612.114412-srg.jar%23125!/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
...
This mod installs Commons Compress and injects it into the runtime JAR to fix the issue caused by the missing library.