bta-proxy/bta_proxy/packets/packet23vehiclespawn.py

18 lines
460 B
Python

from .base import Packet
class Packet23VehicleSpawn(Packet, packet_id=23):
FIELDS = [
('entity_id', 'int'),
('type', 'byte'),
('x', 'int'),
('y', 'int'),
('z', 'int'),
('pitch', 'float'),
('yaw', 'float'),
('vehicle_type', 'int'),
('dx?vehicle_type', 'short'),
('dy?vehicle_type', 'short'),
('dz?vehicle_type', 'short'),
('arrow_type?type==60', 'int'),
]