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

Encourage modders to use the modern entity registration method #250

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Ecdcaeb
Copy link
Contributor

@Ecdcaeb Ecdcaeb commented Dec 2, 2024

Deprecate old methods
Add javadoc
Use unreflected constructor as default

@Ecdcaeb Ecdcaeb changed the title Encourage players to use the new entity registration method Encourage modders to use the modern entity registration method Dec 2, 2024
@Rongmario
Copy link
Member

As of Java 18, core Reflection uses MethodHandles anyway, this change isn't needed. LoliASM uses a slightly faster way though, I haven't benchmarked how it compares.

@Ecdcaeb
Copy link
Contributor Author

Ecdcaeb commented Dec 4, 2024

Done, remove the method handler.
inflation will br used in the modern jdk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants