Add protocol 777 player input packet

This commit is contained in:
Tanner committed 2026-11-07 18:24:01 +00:00
1 parent d6505489d5
commit 8dcb1f4a1e
2 files changed
+30

No files matched your search

+7
View File
@@ -919,6 +919,13 @@ class PlayerActionPacket(Packet):
]
class PlayerInputPacket(Packet):
"""Serverbound key-state flags, including sneak for block placement."""
id = 0x2B
packet_name = "player input"
definition = [{'flags': UnsignedByte}]
class PunchPacket(Packet):
"""Serverbound punch/arm-swing event (protocol 777)."""
id = 0x2E