Mineflayer
Goal
Twofold:
- A clone of the real client, with extra features.
- A framework for easily writing bots in JavaScript.
The framework allows you to write complex bots in JavaScript with very little overhead. For example, echo_bot.js, who simply repeats everything you say, fits in less than 80 characters of code:
mf.onChat(function(username, message) {
mf.chat(message);
});
Progress:
- See examples of bots already written.
Source code
See mineflayer on GitHub.
Screenshots
Debugging echo_bot.js
As I step through the debugger, it runs this line of code which caused echo_bot to chat in Minecraft.
Lots of block types and metadata are rendered correctly.
A view from the sky back when seams were rendered incorrectly.

