imharvol / mineflayer-web-inventory

Web based viewer for your mineflayer bot's inventory
MIT License
79 stars 19 forks source link

Add support for more windows #22

Closed imharvol closed 3 years ago

imharvol commented 3 years ago

The backend emits a window id and type for every update so that the frontend can update the canvas with the right window

Right now it only supports inventory, chest, double chest, crafting table and furnace, but it would be easy to add more

Tested on 1.16 only, I don't think it's going to work in much older versions in those, the type of the windows change, but it shouldn't be hard to make it work in all mineflayer-suported versions

Closes #16