Greetings, and Happy Chinese New year to all Chinese friends!
The Buddha used Anapanasati to reach the 4th jhana, and gain the supernormal power. I believe that Anapanasati alone can lead us to the "mastery over the elements, walking in space, diving in rocks, etc...", though kasina meditation can also lead to that.
By the way, Anapanasati taught in MN 118 is for practicing four mindfulness (the 7th path factor), not really for entering deep jhana, as I understand. From the suttas I've gotten a sense that the Buddha probably used simple breath meditation (watching in & out breathing, like the first tetrad of MN 118) for entering jhana. The jhana experience he obtained when he was a child certainly had nothing to do with more than watching the breath, I suppose.
Metta to all!