Enable Cheats - Neoforged

Enable or disable cheats in singleplayer directly from the pause menu, without opening your world to LAN.