You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Tanner Collin 7217686716 Add state machine for eating food 3 years ago
protocol Handle player teleport packet 3 years ago
.gitignore Rename data module to mcdata 3 years ago
LICENSE Initial commit 4 years ago
README.md Update readme 3 years ago
blocks.py Add a job for grabbing supplies from barrels 3 years ago
bot.py Fix bugs and pause on zzz 3 years ago
download_mcdata.sh Rename data module to mcdata 3 years ago
game.py Add state machine for eating food 3 years ago
items.py Add state machine for eating food 3 years ago
jobs.py Add state machine for eating food 3 years ago
main.py Add state machine for eating food 3 years ago
mcdata.py Rename data module to mcdata 3 years ago
mobs.py Rename data module to mcdata 3 years ago
monkey_patch.py Handle player teleport packet 3 years ago
path.py Improve finding sand by using slices 3 years ago
requirements.txt Handle player teleport packet 3 years ago
test_pycraft.py Rename test script 4 years ago
utils.py Rename data module to mcdata 3 years ago

README.md

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

$ bash download_mcdata.sh
$ 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