bta-proxy/bta_proxy/packets/packet52multiblockchange.py

13 lines
390 B
Python
Raw Normal View History

2023-08-26 01:12:19 +03:00
from .base import Packet
class Packet52MultiBlockChange(Packet, packet_id=52):
__slots__ = ('x', 'z', 'size', 'coordinates', 'types', 'metadata')
FIELDS = [
('x', 'int'),
('z', 'int'),
('size', 'short'),
('coordinates', ('list', 'size', 'short')),
('types', ('list', 'size', 'short')),
('metadata', ('list', 'size', 'ubyte')),
]