Find chest openings within interaction range

This commit is contained in:
Tanner
2026-11-07 19:48:51 +00:00
parent 688297e968
commit 9783631f94
6 changed files with 337 additions and 27 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ class ChestDetectionTests(unittest.TestCase):
chunks=Munch(get_block_at=lambda *_position: None),
world=Munch(_double_chest_positions=lambda _position:
(self.position,)))
game.place_block = lambda location, face: sent.append(
(location, face))
game.place_block = lambda location, face, **kwargs: sent.append(
(location, face, kwargs))
game.open_container(self.position)