bta-proxy/bta_proxy/packets/packet20namedentityspawn.py

17 lines
448 B
Python
Raw Normal View History

2023-08-26 12:33:31 +03:00
from .base import Packet
class Packet20NamedEntitySpawn(Packet, packet_id=20):
__slots__ = ('entity_id', 'name', 'x', 'y', 'z', 'yaw', 'pitch', 'item', 'name', 'color')
FIELDS = [
('entity_id', 'int'),
('name', 'str'),
('x', 'int'),
('y', 'int'),
('z', 'int'),
('yaw', 'byte'),
('pitch', 'byte'),
('item', 'short'),
('name', 'str'),
('color', 'ubyte'),
]