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 caa3fbb2a4 Update README 3 years ago
protocol Add packets for entity interaction and trade list 3 years ago
.gitignore Rename data module to mcdata 4 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 4 years ago
bot.py Add a command to drain inv 3 years ago
download_mcdata.sh Rename data module to mcdata 4 years ago
game.py Add packets for entity interaction and trade list 3 years ago
items.py Select a log to avoid using tools 3 years ago
jobs.py Select a log to avoid using tools 3 years ago
main.py Add state machine for eating food 4 years ago
mcdata.py Rename data module to mcdata 4 years ago
mobs.py Rename data module to mcdata 4 years ago
monkey_patch.py Add packets for entity interaction and trade list 3 years ago
path.py Improve finding sand by using slices 4 years ago
requirements.txt Correct pyCraft requirement 3 years ago
test_pycraft.py Rename test script 4 years ago
utils.py Rename data module to mcdata 4 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 python3-virtualenv git

$ git clone https://git.tannercollin.com/tanner/minecraft-bot.git
$ cd minecraft-bot/
$ 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