What happened?
When Lithium and BetterEnd installed on a dedicated server, the following issue is produced in console constantly, halting all other processes for several minutes:
[main/WARN]: Lithium Class Analysis Error: Class org.betterx.bclib.blocks.BaseBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_793. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
BCLib
3.0.14
WorldWeaver
0.0.0
Fabric API
0.92.6
Fabric Loader
0.18.2
Minecraft
1.20.1
Relevant log output
[main/WARN]: Lithium Class Analysis Error: Class org.betterx.bclib.blocks.BaseBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_793. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
Other Mods
Lithium
Sodium
BetterEnd
Many others but these seem to be the most relevant ones.
Additional Comments
As WorldWeaver is not labeled as a dependency for BCLib or BetterEnd it is not installed.
What happened?
When Lithium and BetterEnd installed on a dedicated server, the following issue is produced in console constantly, halting all other processes for several minutes:
[main/WARN]: Lithium Class Analysis Error: Class org.betterx.bclib.blocks.BaseBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_793. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
BCLib
3.0.14
WorldWeaver
0.0.0
Fabric API
0.92.6
Fabric Loader
0.18.2
Minecraft
1.20.1
Relevant log output
Other Mods
Additional Comments
As WorldWeaver is not labeled as a dependency for BCLib or BetterEnd it is not installed.