I've been working on a mod for Minecraft 1.20.1 and encountered an issue related to taking screenshots programmatically. My goal is to capture the current game state as a screenshot when a specific command is executed. I'm unable to use the screenshothelper class, is there anything else i can use?