Minecraft lets you connect to a WebSocket server when you’re in a game. The server can receive and send any commands. This lets you build a bot that you can do almost anything.
This tutorial explains how to create a Javascript WebSocket server that Minecraft can connect to, send messages using the undocumented MCWSS protocol, and
The detailed instructions are at http://www.s-anand.net/blog/programmi...
The code repository is at https://github.com/sanand0/minecraft-...
A tutorial on using Python to connect to Minecraft is at • Programming Minecraft with WebSockets...
#Minecraft #JavaScript #WebSockets