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 d86c21fead Track name, dimension, add addressable commands 3 years ago
old Move 1.15.2 code into old/ 4 years ago
protocol Add job for filling in a volume of blocks 3 years ago
.gitignore Pull chunk data files over from Elektordi/pyCraft 4 years ago
LICENSE Initial commit 4 years ago
README.md Add readme 4 years ago
blocks.py Add job for filling in a volume of blocks 3 years ago
bot.py Don't sleep near monsters 3 years ago
data.py Cache items into trapped chests 4 years ago
download_mcdata.sh Pull chunk data files over from Elektordi/pyCraft 4 years ago
game.py Track name, dimension, add addressable commands 3 years ago
items.py Use shovels, land in water 3 years ago
jobs.py Track name, dimension, add addressable commands 3 years ago
main.py Track name, dimension, add addressable commands 3 years ago
mobs.py Detect monsters and flee to safety 3 years ago
monkey_patch.py Remove serverbound packets from monkey patch 3 years ago
path.py Improve finding sand by using slices 3 years ago
requirements.txt Update to 1.16.4 3 years ago
test_pycraft.py Rename test script 4 years ago
utils.py Search for next block to place in 2D 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
$ 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