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.
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 forIMixinConfigPlugin
also clearly saysImplementors 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.