Azmalent / terra-incognita

A Minecraft worldgen expansion mod
https://modrinth.com/mod/terra-incognita
GNU General Public License v3.0
3 stars 4 forks source link

Fix classes loading too early when Botania is available. #70

Closed ZekerZhayard closed 1 year ago

ZekerZhayard commented 1 year ago

Fix #62, Fix #63, Fix #68. Class.forName() will cause class loading, if the in-game class is loaded at this point, it will cause subsequent Mixins to fail to register successfully. The javadoc for IMixinConfigPlugin also clearly says Implementors should take care to not reference any game classes, and avoid referencing other classes in their own mod except those specificially designed to be available at early startup, such as coremod classes or other standalone bootstrap objects.