Add ClientSettingsPacket and PluginMessagePacket.
Improve Packet string representation.
This commit is contained in:
1 parent
3269a022a8
commit
e9f095de42
13 files changed
+291
-65
No files matched your search
@@ -5,7 +5,11 @@ from minecraft.networking.types import (
|
||||
)
|
||||
|
||||
|
||||
class KeepAlivePacket(Packet):
|
||||
class AbstractKeepAlivePacket(Packet):
|
||||
packet_name = "keep alive"
|
||||
definition = [
|
||||
{'keep_alive_id': VarInt}]
|
||||
|
||||
|
||||
# This alias is retained for backward compatibility:
|
||||
KeepAlivePacket = AbstractKeepAlivePacket
|
||||
Reference in new issue
Block a user