bta-proxy/bta_proxy/packets/packet21pickupspawn.py

17 lines
380 B
Python

from .base import Packet
class Packet21PickupSpawn(Packet, packet_id=21):
FIELDS = [
('entity_id', 'int'),
('item_id', 'short'),
('count', 'byte'),
('damage', 'short'),
('tag', 'nbt'),
('x', 'int'),
('y', 'int'),
('z', 'int'),
('yaw', 'byte'),
('pitch', 'byte'),
('roll', 'byte'),
]