Pre-reporting checklist
Description
The Packet mode implementation for the Sneak hack is inoperative after changes in Minecraft's network protocol. The existing code was commented out to prevent compilation errors but was not replaced with a functional equivalent.
Context
The sneaking state now appears to be controlled via PlayerInputC2SPacket and PlayerInteractEntityC2SPacket.
Solution
A new implementation could intercept and modify these packets using the PacketOutputListener. This would also involve sending the appropriate packets upon enabling and disabling the hack.
I am opening this issue instead of a PR since I am not entirely sure whether that would be the best approach.
Repro steps
N/A
Wurst Client version
7.49
Minecraft version
1.21.6
Crash report (if applicable)
Pre-reporting checklist
Description
The
Packetmode implementation for the Sneak hack is inoperative after changes in Minecraft's network protocol. The existing code was commented out to prevent compilation errors but was not replaced with a functional equivalent.Context
The sneaking state now appears to be controlled via
PlayerInputC2SPacketandPlayerInteractEntityC2SPacket.Solution
A new implementation could intercept and modify these packets using the
PacketOutputListener. This would also involve sending the appropriate packets upon enabling and disabling the hack.I am opening this issue instead of a PR since I am not entirely sure whether that would be the best approach.
Repro steps
N/A
Wurst Client version
7.49
Minecraft version
1.21.6
Crash report (if applicable)