Add serialisation and tests for Explosion, {Multi,}BlockChange, and CombatEvent packets.

This commit is contained in:
joo committed 2018-05-27 13:28:01 +01:00
1 parent 92f2eff681
commit 709b80b539
11 files changed
+278 -136

No files matched your search

@@ -72,5 +72,5 @@ class SpawnObjectPacket(Packet):
self.velocity_y = Short.read(file_object)
self.velocity_z = Short.read(file_object)
def write(self, socket, compression_threshold=None):
def write_fields(self, packet_buffer):
raise NotImplementedError