Go to file
2021-02-20 23:04:48 +00:00
protocol Add packets for entity interaction and trade list 2021-02-20 23:04:48 +00:00
.gitignore Rename data module to mcdata 2020-12-14 05:40:17 +00:00
blocks.py Add a job for grabbing supplies from barrels 2020-12-17 00:02:56 +00:00
bot.py Add a command to drain inv 2021-02-15 08:56:41 +00:00
download_mcdata.sh Rename data module to mcdata 2020-12-14 05:40:17 +00:00
game.py Add packets for entity interaction and trade list 2021-02-20 23:04:48 +00:00
items.py Select a log to avoid using tools 2021-02-15 08:27:56 +00:00
jobs.py Select a log to avoid using tools 2021-02-15 08:27:56 +00:00
LICENSE Initial commit 2020-05-20 15:41:01 -06:00
main.py Add state machine for eating food 2021-01-05 05:57:06 +00:00
mcdata.py Rename data module to mcdata 2020-12-14 05:40:17 +00:00
mobs.py Rename data module to mcdata 2020-12-14 05:40:17 +00:00
monkey_patch.py Add packets for entity interaction and trade list 2021-02-20 23:04:48 +00:00
path.py Improve finding sand by using slices 2020-12-02 05:16:46 +00:00
README.md Add instructions for git 2021-01-05 06:15:12 +00:00
requirements.txt Correct pyCraft requirement 2021-01-16 06:30:04 +00:00
test_pycraft.py Rename test script 2020-09-06 15:37:04 -06:00
utils.py Rename data module to mcdata 2020-12-14 05:40:17 +00:00

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 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