+ writeF32(os, automatic_rotate);
+ // Added in protocol version 14
+ os << serializeString(mesh);
+ writeU16(os, colors.size());
+ for (video::SColor color : colors) {
+ writeARGB8(os, color);
+ }
+ writeU8(os, collideWithObjects);
+ writeF32(os, stepheight);
+ writeU8(os, automatic_face_movement_dir);
+ writeF32(os, automatic_face_movement_dir_offset);
+ writeU8(os, backface_culling);
+ os << serializeString(nametag);
+ writeARGB8(os, nametag_color);
+ writeF32(os, automatic_face_movement_max_rotation_per_sec);
+ os << serializeString(infotext);
+ os << serializeString(wield_item);
+ writeS8(os, glow);
+ writeU16(os, breath_max);
+ writeF32(os, eye_height);
+ writeF32(os, zoom_fov);
+ writeU8(os, use_texture_alpha);
+
+ // Add stuff only at the bottom.
+ // Never remove anything, because we don't want new versions of this