Go to file
2020-12-13 04:50:03 +00:00
old Move 1.15.2 code into old/ 2020-09-05 20:16:33 -06:00
protocol Add job for filling in a volume of blocks 2020-12-05 10:56:56 +00:00
.gitignore Pull chunk data files over from Elektordi/pyCraft 2020-09-05 21:04:35 -06:00
blocks.py Add job for filling in a volume of blocks 2020-12-05 10:56:56 +00:00
bot.py Don't sleep near monsters 2020-12-12 21:11:00 +00:00
data.py Cache items into trapped chests 2020-12-01 00:48:02 +00:00
download_mcdata.sh Pull chunk data files over from Elektordi/pyCraft 2020-09-05 21:04:35 -06:00
game.py Don't sleep near monsters 2020-12-12 21:11:00 +00:00
items.py Use shovels, land in water 2020-12-02 11:12:51 +00:00
jobs.py Update to 1.16.4 2020-12-13 04:50:03 +00:00
LICENSE Initial commit 2020-05-20 15:41:01 -06:00
main.py Add job for filling in a volume of blocks 2020-12-05 10:56:56 +00:00
mobs.py Detect monsters and flee to safety 2020-12-04 02:49:22 +00:00
monkey_patch.py Remove serverbound packets from monkey patch 2020-12-06 23:53:04 +00:00
path.py Improve finding sand by using slices 2020-12-02 05:16:46 +00:00
README.md Add readme 2020-09-10 15:33:52 -06:00
requirements.txt Update to 1.16.4 2020-12-13 04:50:03 +00:00
test_pycraft.py Rename test script 2020-09-06 15:37:04 -06:00
utils.py Search for next block to place in 2D 2020-12-06 23:53:28 +00: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