A high-order unstaggered constrained transport method for the 3D ideal magnetohydrodynamic equations based on the method of lines