Hacker News new | ask | show | jobs
by jmrm 1625 days ago
In the past, I found incredible to being able to program in Lua in ComputerCraft, controlling not only redstone and moving robots, but also being able to interface with the web and serial ports, but this, this is (or can be) a whole new world inside the Minecraft modding space. Amazing!
1 comments

Out of curiosity, is this available in multiplayer, and if so, which physical machine is the "host"? Is it the Minecraft server or is VM execution somehow replicated on the clients (first player that enters an unloaded chunk?)?
AFAIK the host in ComputerCraft were the server.

I remember how some people done quarries in the 1.4-1.7 versions of Minecraft (I don't exactly remember which) by simply putting a chunk loader object from other mod and programming the robot to mine it. The robot had a diamond pickaxe and could drop and get items, so when the inventory were full, it could drop all of the objects in a chest or other place.

At least with OpenComputer on 1.7.10 the "vm" runs on the "server" which is either the multiplayer server or the client if in single-player mode.