Controlling Real Objects Using Minecraft

Most augmented reality takes images of the real world and superimposes virtual data on top of them. [Michael Winston Dales] went a different direction, using the virtual world of Minecraft to control objects in the physical world. In the video after the break you can see him use switches that he built inside the game to turn the LEDs pictured above on and off. You’ll also notice that in-game sign instructing a player to stand in one spot to Tweet. Since Minecraft is written in Java there are some mods that allow you to hook onto in-game events. [Michael] does just that, triggering his own scripts to send data to an Arduino, or use a Twitter API. Now this something that should be used with the Minecraft ALU. It takes the sandbox method of gaming to a new place, doesn’t it?


14 thoughts on “Controlling Real Objects Using Minecraft

  1. Does this go backwards as well ?

    Ie, can you flick an in-game switch via a RL event ?

    Hm, lets say a lever turns on your Light, does turning the Light on manually switches state on the lever ?

  2. People have extensively hacked the multiplayer server package and you have full control over everything in the world so you should be able to do two way if you write the code for it.

    The author of Minecraft doesn’t like client side mods but server side ones are okay.

    Years ago somebody made a modified version of Doom called psDooM and you’d see grunts for each of the running processes in your system. If you had the relevant permissions then you could in game kill one of the processes and the real process would also get killed. Admin your system via Minecraft? Beware of that exploding creeper though…

  3. “Since Minecraft is written in Java there are some mods that allow you to hook onto in-game events.”

    Java has absolutely nothing to do with hooks or APIs. If anything, it makes mods harder to make, since you can’t actually see the code (a la a scripting language).

  4. @David Have you ever tried patching Java binaries? It is really super easy compared to C++ or similar. Java stays object oriented down to the bytecode which makes it a breeze to work with. I’m sure that is why it is so easy to make really cool mods for Minecraft. Yeah, Python code would be easier, but Java certainly helps when hooking the api (subclasses, anyone?).

  5. Really cool! Had the same idea myself, but completely lost any motivation for getting into Minecraft modding when I saw how much work it’d be keeping it working between updates (Notch obfuscates his code). With the newly released Minecraft Beta, a midding API should be available. Is anyone aware of said API being documented anywhere?

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.