13 lines
390 B
Python
13 lines
390 B
Python
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')),
|
|
]
|