Apply sign work zones before candidate routing
This commit is contained in:
@@ -36,6 +36,14 @@ class GatherWoodPortTests(unittest.TestCase):
|
||||
def find_trees(self, _position, _distance):
|
||||
return [(0, 64, 0), (3, 64, 0)]
|
||||
|
||||
@staticmethod
|
||||
def work_position_allowed(_position):
|
||||
return True
|
||||
|
||||
def filter_work_positions(self, positions):
|
||||
return [position for position in positions
|
||||
if self.work_position_allowed(position)]
|
||||
|
||||
def block_at(self, x, y, z):
|
||||
return (blocks.MCD_BLOCKS['crimson_stem']['minStateId']
|
||||
if x == 0 else
|
||||
|
||||
Reference in New Issue
Block a user