Compare commits
2 Commits
7217686716
...
8ced2d8d5e
Author | SHA1 | Date | |
---|---|---|---|
8ced2d8d5e | |||
3364317b2e |
|
@ -6,8 +6,10 @@ Assuming Debian / Ubuntu based distro:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo apt update
|
$ sudo apt update
|
||||||
$ sudo apt install build-essential python3 python3-dev python3-pip python-virtualenv python3-virtualenv
|
$ 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
|
$ bash download_mcdata.sh
|
||||||
$ virtualenv -p python3 env
|
$ virtualenv -p python3 env
|
||||||
$ source env/bin/activate
|
$ source env/bin/activate
|
||||||
|
|
2
jobs.py
2
jobs.py
|
@ -167,7 +167,7 @@ class GatherCropStates:
|
||||||
self.g.look_at = utils.padd(self.crop, path.BLOCK_BELOW)
|
self.g.look_at = utils.padd(self.crop, path.BLOCK_BELOW)
|
||||||
self.state = self.going_to_crop
|
self.state = self.going_to_crop
|
||||||
else:
|
else:
|
||||||
self.bad_crops.append(crop)
|
self.bad_crops.append(self.crop)
|
||||||
self.state = self.find_new_crop
|
self.state = self.find_new_crop
|
||||||
|
|
||||||
def going_to_crop(self):
|
def going_to_crop(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user