Skip to content

Add Lunar Client compatibility and F9 toggle key#20

Open
Hexze wants to merge 1 commit intobergerhealer:1.18.2from
Hexze:1.18.2
Open

Add Lunar Client compatibility and F9 toggle key#20
Hexze wants to merge 1 commit intobergerhealer:1.18.2from
Hexze:1.18.2

Conversation

@Hexze
Copy link
Copy Markdown

@Hexze Hexze commented Mar 17, 2026

Lunar Client bypasses Fabric's networking API for custom payload packets, so the handshake and rotation packets were never received. This adds a Netty pipeline handler that intercepts packets before they reach the client's modified handler, while still using Fabric API for channel registration so the server knows we support smoothcoasters.

Also backports the camera rotation toggle key (F9) from newer versions, updates build tooling (Gradle 8.5, Loom 1.4, Java 17), and switches to ClientModInitializer.

vibe coded for personal use, prolly not perfect but it works

Closes #16

Lunar Client bypasses Fabric's networking API for custom payload packets,
so the handshake and rotation packets were never received. This adds a
Netty pipeline handler that intercepts packets before they reach the
client's modified handler, while still using Fabric API for channel
registration so the server knows we support smoothcoasters.

Also backports the camera rotation toggle key (F9) from newer versions,
updates build tooling (Gradle 8.5, Loom 1.4, Java 17), and switches to
ClientModInitializer.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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