PrismarineJS/prismarine-viewer
Create a drawing API #2
Karang posted onGitHub
If used as a mineflayer plugin, the viewer should expose some basic drawing functionnalities to other plugins.
For instance:
- bot.viewer.drawLine(p0, p1, {color, width})
- bot.viewer.drawBox(pos, width, length, height, {color})