Add function for faking blocks while pathing

This commit is contained in:
2021-04-25 21:25:15 +00:00
parent e588c8fa1a
commit 7caa51f011
6 changed files with 34 additions and 29 deletions
+1 -5
View File
@@ -54,11 +54,7 @@ class CacheItemsStates:
chest = self.trapped_chests[0]
tmp = c.get_block_at(*chest)
c.set_block_at(*chest, blocks.AIR)
navpath = w.path_to_place(p, chest)
c.set_block_at(*chest, tmp)
navpath = w.path_to_place_faked(p, chest)
print('navpath:', navpath)
if navpath: