Skip to content

Conversation

@NicBOMB
Copy link

@NicBOMB NicBOMB commented Oct 9, 2023

2 examples of mixin extras usage are in MinecraftVRMixin and OptionsVRMixin respectively.
Cleanup of OptionsVRMixin also revealed the keymapping category injection could be separated, so KeyMappingVRMixin was added and the accesswidener reduced.
This implementation benefits the VivecraftVRMod class greatly, as it no longer needs an INSTANCE field at all.
All fields may be initialized statically.
This may also avoid an injection priority conflict with fabric according to @fayer3 .

@NicBOMB NicBOMB changed the base branch from Multiloader-1.20.2 to Multiloader-1.20 October 18, 2023 03:55
@NicBOMB NicBOMB changed the title add mixin extras use @Accessor over accesswidener and more static fields Oct 18, 2023
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.

1 participant