Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectify plugin classloader to let FML mods see its classes #75

Open
Aizistral opened this issue Jun 24, 2021 · 0 comments
Open

Rectify plugin classloader to let FML mods see its classes #75

Aizistral opened this issue Jun 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Aizistral
Copy link
Member

General idea is to replicate what can already be achieved on 1.12.2 with combination of:

  1. This small coremod with a single mixin: https://github.com/terrainwax/ForgeCanCallBukkit
  2. Custom launchwrapper: https://github.com/terrainwax/LegacyLauncher

Launchwrapper version hopefully matches for both MC versions. However, it appears that bukkit plugin classloader in Thermos/Crucible has some differences from whatever above patch was designed to handle, and in my tests done with Thermos setup specifically that patch didn't work.

For reference, here is the mixin I created:
image

Log output indicated that it applied successfully:
image

Here was some code to test if it works as intended:
image

Here was exception reminding me that life is never that easy:
image

@EverNife EverNife added the enhancement New feature or request label Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants