Using the dense linear multihole to control the directional hydraulic fracturing is a significant technical method to realize roof control in mining engineering. By combining the large-scale true triaxial directional hydraulic fracturing experiment with the discrete element numerical simulation experiment, the basic law of dense linear holes controlling directional hydraulic fracturing was studied. The results show the following: (1) Using the dense linear holes to control directional hydraulic fracturing can effectively form directional hydraulic fractures extending along the borehole line. (2) The hydraulic fracturing simulation program is very suitable for studying the basic law of directional hydraulic fracturing. (3) The reason why the hydraulic fracture can be controlled and oriented is that firstly, due to the mutual compression between the dense holes, the maximum effective tangential tensile stress appears on the connecting line of the drilling hole, where the hydraulic fracture is easy to be initiated. Secondly, due to the effect of pore water pressure, the disturbed stress zone appears at the tip of the hydraulic fracture, and the stress concentration zone overlaps with each other to form the stress guiding strip, which controls the propagation and formation of directional hydraulic fractures. (4) The angle between the drilling line and the direction of the maximum principal stress, the in situ stress, and the hole spacing has significant effects on the directional hydraulic fracturing effect. The smaller the angle, the difference of the in situ stress, and the hole spacing, the better the directional hydraulic fracturing effect. (5) The directional effect of synchronous hydraulic fracturing is better than that of sequential hydraulic fracturing. (6) According to the multihole linear codirectional hydraulic fracturing experiments, five typical directional hydraulic fracture propagation modes are summarized.