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 ee2a1958f9 Find trees using new 3D search 4 years ago
old Move 1.15.2 code into old/ 4 years ago
protocol Grab fallen saplings, fix bugs 4 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 3D BFS iterator 4 years ago
bot.py Clear leaves when low on saplings 4 years ago
data.py Fix hidden item metadata bug 4 years ago
download_mcdata.sh Pull chunk data files over from Elektordi/pyCraft 4 years ago
game.py Find trees using new 3D search 4 years ago
items.py Add 3D BFS iterator 4 years ago
jobs.py Find trees using new 3D search 4 years ago
main.py Find trees using new 3D search 4 years ago
monkey_patch.py Grab fallen saplings, fix bugs 4 years ago
path.py Improve pathfinding 4 years ago
requirements.txt Add job for farming trees and object physics 4 years ago
test_pycraft.py Rename test script 4 years ago
utils.py Add 3D BFS iterator 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 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