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