Mineflayer
Create Minecraft bots with a powerful and high level JavaScript API
.... Parse and serialize Minecraft packets, plus authentication and encryption. Language independent module providing Minecraft data for Minecraft clients, servers, and libraries. Node.js library to interact with Mojang's authentication system, known as Yggdrasil. Represent a Minecraft biome with its associated data. Mineflayer is pluggable; anyone can create a plugin that adds an even higher level API on top of Mineflayer.