afk machine? I want to make a script that lets me afk at the ender man farm in my minecraft realm so that I can get xp. dependencies You need the "pyautogui" library to move the mouse. You can install it with "pip install pyautogui" (on windows)