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
@@ -0,0 +1,8 @@
|
||||
from .packet import Packet
|
||||
from minecraft.networking.types import String, TrailingByteArray
|
||||
|
||||
|
||||
class AbstractPluginMessagePacket(Packet):
|
||||
definition = [
|
||||
{'channel': String},
|
||||
{'data': TrailingByteArray}]
|
||||
Reference in new issue
Block a user