You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello developer! Thank you very much for creating such a great plugin! I have a small question, can I directly use this to write paper plugins? Or how can I interact with the plugin? (Because I tried using OnEnable in it but it didn't work...)
The text was updated successfully, but these errors were encountered:
I have a WIP fork of Mixin that supports instancing, which basically involves getting rid of all static variables and service loader stuff. Another possible solution is to create a parent-isolated classloader for each plugin and load the mixin runtime independently for each plugin, but not sure how difficult that is.
In any case, you must take care to never do cross-classloader class access, which probably means you should separate your project into multiple subprojects, each with the correct classpath so compile time verification works properly.
I've experimented with this 1.5 years ago (with another core, but I think it doesn't matter), it works fine with 1.20.1 and, probably, with new versions of Paper too if they didn't change code related to plugin loader (but I think they did). Anyway, here it is: https://github.com/LeonidMem/BukkitInFabricM
Hello developer! Thank you very much for creating such a great plugin! I have a small question, can I directly use this to write paper plugins? Or how can I interact with the plugin? (Because I tried using OnEnable in it but it didn't work...)
The text was updated successfully, but these errors were encountered: