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

[Quilt] FabricCropBlockMixin fails, if another mod mixins into CropBlock #36

Closed
SplendidAlakey opened this issue Sep 22, 2022 · 6 comments
Labels
bug Something isn't working as expected other mod This issue is caused by another mod

Comments

@SplendidAlakey
Copy link

SplendidAlakey commented Sep 22, 2022

Minecraft Version

1.19.2

Mod Loader

Quilt

Mod Loader Version

0.17.x and 0.18.x

Mod Version

4.5.2+0

Describe the Issue

FabricCropBlockMixin fails on launch, when another mod does its own mixin into CropBlock. For example Terrestria and ShetiPhianCore.

Initially, I believed, that the crash only happens on Quilt, but #38 seems to indicate, that Forge is also affected. In which case Fabric is the only modloader, that doesn't crash under the same circumstances.

Logs

Logs for Terrestria: https://gist.github.com/SplendidAlakey/dde2c2bdf95113aa01eb866725e0ee53
And for ShetiPhianCore: https://gist.github.com/SplendidAlakey/5b7c923fa2a882b124815df332cc84f3

@SplendidAlakey SplendidAlakey added the bug Something isn't working as expected label Sep 22, 2022
@CapoFantasma97
Copy link

No way to work around this? So many nice mods depend on Balm.

@CapoFantasma97
Copy link

Here are my logs with Not Enough Crashes to deobfuscate stack traces https://mclo.gs/PFhGwnW

@BlayTheNinth
Copy link
Member

If this happens only on Quilt and not on Fabric, it should be reported to Quilt. I can't see anything obvious that would be causing this in either of the three code bases.

@BlayTheNinth BlayTheNinth added the other mod This issue is caused by another mod label Oct 13, 2022
@BlayTheNinth BlayTheNinth added help wanted Pull Requests for this issue are encouraged and removed other mod This issue is caused by another mod labels Jan 23, 2023
@SplendidAlakey SplendidAlakey changed the title [Quilt] Crash with Terrestria [Quilt] FabricCropBlockMixin fails, if another mod mixins into CropBlock Jan 23, 2023
@BlayTheNinth
Copy link
Member

The Forge issue #38 is most likely unrelated as it appears to be a mappings issue that only happens in dev envs (and has magically resolved itself in the past #32), whereas this one is an injection failure on a different Mixin that happens at runtime too.

@SplendidAlakey
Copy link
Author

SplendidAlakey commented Jan 23, 2023

I was just talking to another dev over at Quilt's Discord about it. According to them, it's not your mod's fault. Both ShetiPhianCore and Terrestria (or, rather a library called Terraform) use redirects in its CropBlock mixins, which in turn kills any other mod, that does the same, including each other. I asked them to tell the devs of both mods about it and how to alleviate the issue, so, hopefully, it will be fixed on their sides.

As to why it doesn't happen on Fabric - apparently Fabric allows more freedom in such cases, so it's also up to Quilt to consider implementing the same or similar functionality.

I'll leave this issue open for visibility, unless you wish to close it.

Edit: TerraformersMC/Terrestria#278 (comment)

@BlayTheNinth BlayTheNinth added other mod This issue is caused by another mod and removed help wanted Pull Requests for this issue are encouraged labels Jan 23, 2023
@BlayTheNinth
Copy link
Member

Awesome, thanks for looking into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected other mod This issue is caused by another mod
Projects
Archived in project
Development

No branches or pull requests

3 participants