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
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