How do people record clean gamplay footage?

Disclaimer

Pokemon is owned by the Pokemon Company a subsidiary of Nintendo. Pixelmon is owned by Pixelmon Reforged