The Problem & Possible Solution
As the title says, the Mineflayer method openChest() is deprecated and buggy. There are several Issues posted on the main Mineflayer git regarding the openChest() method not working properly, and it has since been replaced with a new method.
The UI interaction has been overhauled and it now uses openContainer(). The above instance of openChest() and other related code that deals with depositing into chests should be changed over to the newer method.
https://github.com/PrismarineJS/mineflayer-collectblock/blob/aaa034d34a570b10518526de29520fe46b932c30/src/Inventory.ts#L120
The Problem & Possible Solution As the title says, the Mineflayer method
openChest()
is deprecated and buggy. There are several Issues posted on the main Mineflayer git regarding theopenChest()
method not working properly, and it has since been replaced with a new method.The UI interaction has been overhauled and it now uses
openContainer()
. The above instance ofopenChest()
and other related code that deals with depositing into chests should be changed over to the newer method.