void PacketEntityHeadLook::write(PacketBuffer &buffer) {
    buffer.putVarInt(entityId);
    buffer.putByte(headYaw);
}
void PacketAnimation::write(PacketBuffer &buffer) {
    buffer.putVarInt(entityId);
    buffer.putUByte(animationId);
}