bta-proxy/bta_proxy/packets/packet24mobspawn.py

16 lines
366 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'),
('chatcolor', 'byte'),
]