VivecraftMod icon indicating copy to clipboard operation
VivecraftMod copied to clipboard

use `@Accessor` over accesswidener and more static fields

Open NicBOMB opened this issue 1 year ago • 0 comments

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 avatar Oct 09 '23 04:10 NicBOMB