Mineflayer is a high-level JavaScript API for creating Minecraft bots that can move, mine, build, fight, chat and interact with the game world.