The issue has been closed
Given that the Mineflayer codebase now uses promises, all Mineflayer plugins should also more in that direction.

What exactly would this change look like? I think one approach would be to make attack return a promise that is resolved when the target has died/teleported/despawned/disconnected.
posted by SeanMcCord almost 4 years ago
What exactly would this change look like? I think one approach would be to make attack return a promise that is resolved when the target has died/teleported/despawned/disconnected.
That's a good idea. It would be very useful.
posted by TheDudeFromCI almost 4 years ago
This is more of a new feature then a requirement for making this package promisified, this package is already promisified, it's fine how it is now, its meant to be run, and you can check it's status while it's running. I think this should be closed and reopened as a feature request
posted by u9g over 3 years ago