GitHunt
NE

neverix/plai-py

Play Minecraft with AI

plai-py

Play Minecraft with AI

What is this

A port of OpenAI Video Pretraining for the real Minecraft.
It isn't a real mod and instead controls the mouse/keyboard for you.

How to run

Currently supported and tested on Python 3.8.8.

Install:

pip install -r requirements.txt

First launch Minecraft and start playing. Switch windows and run:

python plai.py

It will automatically connect to your Minecraft window. To stop, switch windows away again.

TODO

  • Get user feedback
  • Make a proper CLI
  • Remove the CLI and make a GUI
  • Port to ONNX and make it a proper mod

Languages

Python100.0%

Contributors

Apache License 2.0
Created July 5, 2022
Updated May 22, 2025
neverix/plai-py | GitHunt