Add protocol 777 player input packet
This commit is contained in:
1 parent
d6505489d5
commit
8dcb1f4a1e
2 files changed
+30
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user