Replies: 1 comment
-
After two weeks using Javassist I can confirm this library is a must-have. Some tedious ASM work are just a few lines in Javassist. It's instrument method also provide some minimal @ Redirect and remap function. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Improve "coremodding", which in this instance is primarily describing the context of transforming and possibly redefinition of classes at runtime.
Goals
Non Goals
Motivation
Discussions happening on Discord every so often on how coremodding can be improved, and how Mixin and raw ASM may have a large learning curve for people that want to do basic class generation or transformations.
Description
Forge's class transformation API is extremely primitive. In fact, it doesn't even exist. It all sits in the
LaunchWrapper
which is extremely legacygarbagebaggage. And Bouncepad is taking care of most of it. However, the development of it also rests on this CFP, as we need to come to an agreement of what we should do for coremodding.First of all, no matter what libraries we include, we must make sure either of the points is achieved:
Or:
Libraries:
Some of the public known libraries people have mentioned over on Discord can improve coremodding:
(List is welcomed to be populated before this proposal is moved onto the next stage).
If possible, we should not go down the route of "js coremods" that modern Forge adopted.
Dependencies
The above listed libraries (possibly).
References
No response
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions