How to control the mouse in Minecraft using Python?

后端 未结 5 792
清酒与你
清酒与你 2021-02-06 14:11

All in all, I\'m trying to programmatically -and externally- control the Minecraft player\'s orientation.

No APIs, no Java mods to the game environment

Typical

5条回答
  •  天涯浪人
    2021-02-06 14:47

    Go to https://www.learncodebygaming.com/blog/pyautogui-not-working-use-directinput.

    pydirectinput is basically pyautogui but it works with games, and uses newer winapi functions.

提交回复
热议问题