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

Use Loom's interface injection to natively implement Adventure interfaces #30

Merged
merged 12 commits into from May 19, 2022

Conversation

zml2008
Copy link
Member

@zml2008 zml2008 commented May 15, 2022

This provides a user experience closer to native implementations -- for most usecases, users can directly call Adventure methods on Minecraft types.

Unfortunately we can't do interface injection on Mojang library types (like Brigadier and Authlib), so conversions will still be necessary for those.

@zml2008 zml2008 added the enhancement New feature or request label May 15, 2022
@zml2008 zml2008 added this to the 5.3.0 milestone May 15, 2022
@zml2008 zml2008 self-assigned this May 19, 2022
@zml2008 zml2008 merged commit d5cd0b5 into mc/1.18 May 19, 2022
@zml2008 zml2008 deleted the feature/interface-injection branch May 19, 2022 02:02
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

Successfully merging this pull request may close these issues.

None yet

1 participant