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 b8cbd9a5f0 Upgrade pyCraft 4 years ago
old Move 1.15.2 code into old/ 4 years ago
protocol Use built in BlockChangePacket and MultiBlockChangePacket 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 Upgrade pyCraft 4 years ago
bot.py Upgrade pyCraft 4 years ago
download_mcdata.sh Pull chunk data files over from Elektordi/pyCraft 4 years ago
game.py Upgrade pyCraft 4 years ago
items.py Port over job sleeping 4 years ago
jobs.py Add commands for dropping and dumping inventory 4 years ago
main.py Get rid of local state, move everything to global 4 years ago
monkey_patch.py Use built in BlockChangePacket and MultiBlockChangePacket 4 years ago
path.py Port over MCWorld class 4 years ago
requirements.txt Upgrade pyCraft 4 years ago
test_pycraft.py Rename test script 4 years ago
utils.py Adjust find sand algo 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