Skip to content

Some mixin compatibility improvements#889

Closed
invokekitty wants to merge 8 commits into
ryanhcode:mainfrom
invokekitty:fix/mixin-compat-improvements
Closed

Some mixin compatibility improvements#889
invokekitty wants to merge 8 commits into
ryanhcode:mainfrom
invokekitty:fix/mixin-compat-improvements

Conversation

@invokekitty

Copy link
Copy Markdown

Looked at some mixins and made a few changes to improve compatibility with other mods. This also allows lithium's efficient raycast implementation to be used on sub levels, as BlockGetterMixin now wraps the method instead of overwriting it.
Besides this i replaced some Redirects that just wrap the original call with WrapOperation, ModifyArg or ModifyExpressionValue, and some Injects that cancel at RETURN with ModifyReturnValue.

Please tell me if i should change anything :3

@CLAassistant

CLAassistant commented May 14, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Ocelot5836 Ocelot5836 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Ocelot5836
Ocelot5836 requested a review from ryanhcode May 17, 2026 18:38
@lap2ka

lap2ka commented May 21, 2026

Copy link
Copy Markdown
Contributor

For me this makes inspect mode in ponders unusable

@Ocelot5836

Copy link
Copy Markdown
Collaborator

After talking with ryan it would be better if smaller prs to mixins were submitted with specific fixes for certain mods. It reduces the chance of a weird regression without any benefit

@Ocelot5836 Ocelot5836 closed this May 21, 2026
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.

4 participants