bta-proxy/bta_proxy/packets/packet21pickupspawn.py

18 lines
427 B
Python
Raw Normal View History

2023-08-26 01:12:19 +03:00
from .base import Packet
class Packet21PickupSpawn(Packet, packet_id=21):
FIELDS = [
('entity_id', 'int'),
('item_id', 'short'),
('count', 'byte'),
('damage', 'short'),
('tag_size', 'short'),
('tag', ('bytes', 'tag_size')),
('x', 'int'),
('y', 'int'),
('z', 'int'),
('yaw', 'byte'),
('pitch', 'byte'),
('roll', 'byte'),
]