Go to file
2020-09-17 18:56:52 -06:00
old Move 1.15.2 code into old/ 2020-09-05 20:16:33 -06:00
protocol Use built in BlockChangePacket and MultiBlockChangePacket 2020-09-09 15:58:19 -06:00
.gitignore Pull chunk data files over from Elektordi/pyCraft 2020-09-05 21:04:35 -06:00
blocks.py Upgrade pyCraft 2020-09-17 18:56:52 -06:00
bot.py Upgrade pyCraft 2020-09-17 18:56:52 -06:00
download_mcdata.sh Pull chunk data files over from Elektordi/pyCraft 2020-09-05 21:04:35 -06:00
game.py Upgrade pyCraft 2020-09-17 18:56:52 -06:00
items.py Port over job sleeping 2020-09-16 20:11:42 -06:00
jobs.py Add commands for dropping and dumping inventory 2020-09-17 14:54:41 -06:00
LICENSE Initial commit 2020-05-20 15:41:01 -06:00
main.py Get rid of local state, move everything to global 2020-09-16 14:16:10 -06:00
monkey_patch.py Use built in BlockChangePacket and MultiBlockChangePacket 2020-09-09 15:58:19 -06:00
path.py Port over MCWorld class 2020-09-16 14:09:14 -06:00
README.md Add readme 2020-09-10 15:33:52 -06:00
requirements.txt Upgrade pyCraft 2020-09-17 18:56:52 -06:00
test_pycraft.py Rename test script 2020-09-06 15:37:04 -06:00
utils.py Adjust find sand algo 2020-09-17 03:11:08 -06:00

Minecraft Bot

Setup

Assuming Debian / Ubuntu based distro:

$ sudo apt update
$ sudo apt install build-essential python3 python3-dev python3-pip python-virtualenv python3-virtualenv
$ virtualenv -p python3 env
$ source env/bin/activate
(env) $ pip install -r requirements.txt

Always make sure the virtual environment is running (env).

Running

(env) $ USERNAME=you@domain.com PASSWORD=supersecret SERVER=example.com python main.py