node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป

voxel-health-bar

voxel-health-bar

Player health bar display (voxel.js plugin)

Requires voxel-health, updates on events

Screenshot:

screenshot

To test, try executing from the console:

game.plugins.get('voxel-health').hurt(2)
game.plugins.get('voxel-health').heal(1)

License

MIT