bta-proxy/bta_proxy/packets/packet24mobspawn.py

16 lines
367 B
Python
Raw Normal View History

2023-08-24 17:40:23 +03:00
from .base import Packet
class Packet24MobSpawn(Packet, packet_id=24):
FIELDS = [
('entity_id', 'int'),
('type', 'byte'),
('x', 'int'),
('y', 'int'),
('z', 'int'),
('yaw', 'byte'),
('pitch', 'byte'),
('metadata', 'entitydata'),
('nickname', 'string'),
2023-09-04 22:03:31 +03:00
('chatcolor', 'ubyte'),
2023-08-24 17:40:23 +03:00
]