bta-proxy/bta_proxy/packets/packet21pickupspawn.py

17 lines
380 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'),
2023-08-26 16:45:22 +03:00
('tag', 'nbt'),
2023-08-26 01:12:19 +03:00
('x', 'int'),
('y', 'int'),
('z', 'int'),
('yaw', 'byte'),
('pitch', 'byte'),
('roll', 'byte'),
]