Skip to content

fix: perspective mod compatibility and improve mixin compatibility#8561

Merged
MukjepScarlet merged 2 commits into
CCBlueX:nextgenfrom
Lopesnextgen:fix/perspective-mod-compatibility
Jun 26, 2026
Merged

fix: perspective mod compatibility and improve mixin compatibility#8561
MukjepScarlet merged 2 commits into
CCBlueX:nextgenfrom
Lopesnextgen:fix/perspective-mod-compatibility

Conversation

@Lopesnextgen

Copy link
Copy Markdown
Contributor

Reopening the work from #8487. The branch got deleted by accident on my end, which also closed the PR, so this is a fresh PR rebased on nextgen (26.2).

Same two changes as before:

  1. First-person guard in RotationManager. CHANGE_LOOK only fires when cameraType.isFirstPerson(). In F5 the mouse only moves the camera now, which is what Lunar's Freelook and other perspective mods expect. No effect on LiquidBounce's own FreeLook;

  2. MixinMouseHandler moved from @WrapWithCondition to @WrapOperation, per the suggestion in the original PR thread to convert to the new mixin extras once 26.2 was in.

Diff is still +9/-8 on the same two files, no new code beyond the rebase.

@MukjepScarlet

Copy link
Copy Markdown
Contributor

I'm sorry but my previous comment is incorrect. I will fix it now

@MukjepScarlet MukjepScarlet force-pushed the fix/perspective-mod-compatibility branch from 4585199 to 4bf7f48 Compare June 25, 2026 02:55
@MukjepScarlet MukjepScarlet requested a review from 1zun4 June 25, 2026 02:55
Comment thread src/main/kotlin/net/ccbluex/liquidbounce/utils/aiming/RotationManager.kt Outdated
Per maintainer feedback, CHANGE_LOOK is intended to work on all camera types.
The Perspective mod case is already handled by the cancelable MouseRotationEvent.
@MukjepScarlet MukjepScarlet merged commit b4d5d1f into CCBlueX:nextgen Jun 26, 2026
@MukjepScarlet MukjepScarlet removed the request for review from 1zun4 June 26, 2026 09:23
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.

2 participants