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

Incompatibility with Sinytra Connector, caused by setVelocityFromFluid redirect mixin (AntiWaterPush) #924

Closed
3 tasks done
finnnnnnnnnnnnnnnnn opened this issue Jan 12, 2024 · 4 comments
Labels
area:compatibility category:movement status:never-stale Prevents stalebot from marking this item as stale. type:bug Something isn't working
Milestone

Comments

@finnnnnnnnnnnnnnnnn
Copy link

Pre-reporting checklist

  • I have searched existing issues and didn't find any previous reports of this bug.
  • This bug still happens in the latest version of Wurst. I've made sure my installation is up to date.
  • I have tried removing all other mods and the bug still happens.

Description

When attempting to use Wurst with Sinytra/Connector, an experimental mod that allows one to use Fabric mods on Forge, one gets the error

org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector setVelocityFromFluid(Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;)V in wurst.mixins.json:EntityMixin from mod wurst failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap Wurst-Client-refmap.json

The setVelocityFromFluid function does not appear to be used anywhere in Wurst's code, and when I removed it from Wurst it builds and runs successfully, aside from a visual glitch in the starting menu.

I've reported this issue to Connector but I've been informed that they won't fix this due to not supporting hacks.

Repro steps

  1. Install Wurst Client, Connector, and Forgified (I've linked the specific versions I used)
  2. Launch Minecraft

Wurst Client version

7.39.1

Minecraft version

1.20.1

Crash report (if applicable)

https://gist.github.com/some16/24c186d291de597c920d7e0af7c42576
@finnnnnnnnnnnnnnnnn finnnnnnnnnnnnnnnnn added status:unconfirmed New issue. Needs triage. type:bug Something isn't working labels Jan 12, 2024
@Alexander01998 Alexander01998 changed the title Wurst has easily fixable crash when trying to run on Forge 1.20.1 Incompatibility with Sinytra Connector, caused by setVelocityFromFluid redirect mixin (AntiWaterPush) Jan 12, 2024
@Alexander01998
Copy link
Member

Hey @some16, thank you for the detailed bug report. It's much appreciated!

However, the setVelocityFromFluid mixin is a necessary part of the Wurst Client that makes the AntiWaterPush hack work. It is not something that can simply be removed without losing that functionality.

It might still be possible to tweak the mixin for better compatibility with mods like Sinytra Connector, but it's not immediately clear how to do this without breaking AntiWaterPush.

For now, I've gone ahead and edited the title of this issue to better reflect the situation at hand. Please avoid using phrases like "easily fixable" in future bug reports. It can unintentionally come across as quite dismissive of the complexity involved in mod/hack development - and bugs are rarely as straightforward as they seem at first.

@finnnnnnnnnnnnnnnnn
Copy link
Author

Sorry about that, I'll avoid doing that in the future.

This comment was marked as outdated.

@blammie

This comment was marked as outdated.

@Alexander01998 Alexander01998 added the status:never-stale Prevents stalebot from marking this item as stale. label Apr 3, 2024
@Alexander01998 Alexander01998 added this to the v7.42 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:compatibility category:movement status:never-stale Prevents stalebot from marking this item as stale. type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants