bta-proxy/bta_proxy/packets/packet24mobspawn.py

16 lines
367 B
Python

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', 'ubyte'),
]