Skip to content

Conversation

@Kahzerx
Copy link
Member

@Kahzerx Kahzerx commented Jul 16, 2025

I think the packet C2S with id 0x37 which was about teleport to entity on minecraft 1.20.5 is causing conflicts in newer versions like 1.21.7 so i decided to remap all ids for that packet from 1.20.5 to 1.21.7

on 1.20.5 packet 0.37 was https://github.com/derklaro/mc-protocol/blob/5dd2acf99831c1eb15753e8ccee358d74d5bfa62/readme.md#0x37---teleport-to-entity-c--s teleport to entity c2s

on 1.21.2 that packet is 0x39 https://github.com/derklaro/mc-protocol/blob/25305d646156370e0bc867f43eac02f6f58f0d04/readme.md#0x39---teleport-to-entity-c--s

on 1.21.4 that packet is 0x3B https://github.com/derklaro/mc-protocol/blob/77fe53b2888792b5600a90e905db979626db7eee/readme.md#0x3b---teleport-to-entity-c--s

on 1.21.5 that packet is 0x3C https://github.com/derklaro/mc-protocol/blob/b29d408ba88d67aa3ecb2d58898609de76d2a355/readme.md#0x3c---teleport-to-entity-c--s

on 1.21.6 that packet is 0x3D https://github.com/derklaro/mc-protocol/blob/c0cdfe4a2c52fcca88248a71c53a396dd53f2097/readme.md#0x3d---teleport-to-entity-c--s

it was causing conflicts for me on 1.21.7 on open creative menu with items on it
apparently packet id 0x37 on 1.21.7 is this one: https://github.com/derklaro/mc-protocol/blob/ccc0bcc2777404a6dfc4f9d8edcedf6358529370/readme.md#0x37---set-creative-mode-slot-c--s related to Set Creative Mode Slot which explains it all, when opening creative menu with items on any slot, the client was sending 0x37 which velocity uuid rewrite logic was interpreting as the old teleport to entity C2S

Tested on fabric server 1.21.7 0.16.14 with fabric proxy lite & fabric api

Copy link
Collaborator

@Fallen-Breath Fallen-Breath left a comment

Choose a reason for hiding this comment

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

thanks <3

@Fallen-Breath Fallen-Breath merged commit 683d5d8 into TISUnion:dev/3.0.0 Jul 16, 2025
1 check passed
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