Constantin Schreiber

Results 26 comments of Constantin Schreiber

Currently the issue is a [rejected click transaction](https://github.com/PrismarineJS/mineflayer/blob/f3005df1256ee55d32d8081beb5df886a371c249/lib/plugins/craft.js#L133). After crafting, the code attempts to cleanup any leftovers from the crafting area (basically only applicable for cake which leaves empty milk...

Server sends a window_items packet which seems to be ignored by mineflayer... EDIT: It does not - Paper-Spigot does :( ![image](https://user-images.githubusercontent.com/53787471/150679381-d8018a22-5416-4e4e-99ae-c97b50cfee0b.png)

@nickelpro As the cake test currently won't pass (missing outShape data in prismarine-recipe) I'll put it into a seperate PR ^^

``npm run mocha_test -- -g "1.18.1.*craft"``: 4/4 of my debug runs of were successful, 0/4 without debugger. Seems like this is a bigger Inventory related issue, how shall we proceed...

> would be great to figure it out I hate to be that guy, but I won't debug this further. For my use case the delayed inventory update issue is...

The issue with click window in versions >=1.17.1 is the following https://github.com/PrismarineJS/mineflayer/blob/52650483a80412cf766c09256d007ab39d9ad50c/lib/plugins/inventory.js#L551 https://github.com/PrismarineJS/mineflayer/blob/52650483a80412cf766c09256d007ab39d9ad50c/lib/plugins/inventory.js#L410

> looping 1 by 1, which is so much slower than doing the whole stack The issue with crafting the whole stack is that mineflayer currently does not support shift...

> @Technisha if you are looking for JS bots, you might want to check [mineflayer](https://github.com/PrismarineJS/mineflayer). The problem with mineflayer is it's poor code quality and performance, makes it hard to...

Hi @bednar, I know about the AsyncWriteApi, but it does not suite my use case. I'm writing many data points (metrics of a running service) to InfluxDB. I don't care...