Except with respect to ordinances adopted pursuant to the act of July 31, 1968 (P.L. 805, No. 247), known as the Pennsylvania Municipalities Planning Code, all local ordinances and enactments purporting to regulate surface mining are hereby superseded. The Commonwealth, by this enactment, hereby preempts the regulation of surface mining as herein defined.
52 P.S. § 3316