Skip to content

Replace reflection based operation with mixin#21

Open
ZZZank wants to merge 1 commit into
CleanroomMC:masterfrom
ZZZank:mixin
Open

Replace reflection based operation with mixin#21
ZZZank wants to merge 1 commit into
CleanroomMC:masterfrom
ZZZank:mixin

Conversation

@ZZZank

@ZZZank ZZZank commented Jun 23, 2026

Copy link
Copy Markdown

reflect package is no longer required and replaced by mixin accessor. Classes in it are also marked as deprecated.

Mixin Accessor, instead of Access Transformer, is used because in this use case, AT should only be used for fields, and using two tools when you can use only one feels wrong.

Also for some reason, the MouseTweaksMixinLoader coremod cannot be found when running gradle run client task, but it works properly when running in production environment

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