Apply sign work zones before candidate routing

This commit is contained in:
Tanner
2026-11-06 01:10:31 +00:00
parent a60d913c60
commit ab8f59a89b
11 changed files with 309 additions and 12 deletions
+8
View File
@@ -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