Minecraft furnace IRL

Replica Minecraft Furnace Actually Powers The Game

Let’s face it, we all need a little distraction sometimes, especially lately. And for our money, there’s no better way to put your brain in park than to start up a Minecraft world and get to digging. The simple graphics, the open world, and the lack of agenda other than to find resources and build things are all very soothing.

But play the game long enough and you’re bound to think about what it would be like if the game world crossed over into the real world. The ironically named [Michael Pick] did just that when he managed to craft a real Minecraft furnace that can actually power the game. Of course, there are some liberties taken with the in-game crafting recipe for a furnace, which is understandable for a game that allows you to punch trees with a bare fist to cut them down.

Rather than using eight blocks of cobblestone to build his furnace, [Michael] made a wooden shell for a commercial folding camp stove. Insulated from the shell by a little cement board, the furnace looks pretty true to the in-game item. To generate the electricity needed to run the game, he used a pair of thermoelectric camping generators. With the stove filled with wood — presumably un-punched — the generators put out enough juice to at least partially charge a battery bank, which was then used to power a Raspberry Pi and 7″ monitor. His goal was to get enough power from the furnace to do a speed run in the game and find three diamonds to build a diamond pickaxe. Honestly, we’re jealous — our first diamonds never come that easy.

We’ve seen other Minecraft-IRL crossovers before. Fancy a ride in a minecart? We’ve got that covered. Or maybe you’d rather control a desk lamp from within the game? That’s a thing, too.

Continue reading “Replica Minecraft Furnace Actually Powers The Game”

Joel in his minecart

This Little Minecraft Mine Cart Of Mine

[Joel] of Joel Creates loves trains and Minecraft. So what better way to combine them than to make a real-life electric mine cart and ride it around?

At first glance, it seems pretty straightforward. Four wheels, each with a flange, mounted to a box with a motor. In practice, it was a little more complex than that. Just finding a spot of track to even ride on is tricky. Most “abandoned” tracks that you might see around your city often aren’t all that abandoned. Luckily for [Joel], he remembered an amusement park in the area that he went to as a kid, which he remembered having a decent amount of track. Additionally, the rails were smaller and closer to the scale of a real Minecraft track where one block is 1 meter. After calling up the owner and receiving permission, Joel began to build his cart.

First attempts to procure actual train wheels were foiled by cost and lead times, and simply CNCing a set of wheels was too expensive from a time and materials point of view. [Joel]’s first thought was about making an assembly out of two wheels to grip the rail, much like a roller coaster. However, there were dozens of switch points on the track at the park and several road crossings, both things that wouldn’t work with that sort of setup. Stumbling upon a bit of hacker inspiration, [Joel] turned to brake drums, which happen to be reasonably close to the correct size. They also have the superb quality of being relatively cheap and available. Almost all the parts were CNCed out of aluminum, plywood, or foam.

Given that the theme of the build was doing things to scale, [Joel] was mindful of the top speed of a minecart in the game, which is 8 meters per second or roughly 25 miles per hour, so he set that as his goal to hit. A beefy motor from an online warehouse and a lithium-ion pack allowed him to hit that easily; it was just a matter of doing so safely.

If you need even more Minecraft vehicles in your life, perhaps an RC boat might do the trick? Video after the break.

Continue reading “This Little Minecraft Mine Cart Of Mine”

RC Minecraft Boat Patrols The Pool For Treasure

Looking to recreate those relaxing Minecraft fishing sessions in real life, [electrosync] recently set out to 3D print himself a blocky remote controlled boat, complete with a similarly cubic occupant to ride in it. Each element of the build, from the oars to the bobber on the end of the fishing line, has been designed to look as faithful to the source material as possible. In fact, the whole thing is so accurate to the game that it’s almost surreal to see it rowing around the pool.

That said, some of the resemblance is only skin deep. For example the rowing action, though it appears to be properly synchronized to the boat’s movement through the water, is completely for show. A standard propeller and rudder arrangement under the boat provide propulsion and directional control, and [electrosync] notes its actually powerful enough to push the boat very near to its scale top speed from the game, despite the exceptionally poor hydrodynamics of what’s essentially just a rectangle.

A look under the deck.

Speaking of which, [electrosync] even went through the trouble of printing the hull in wood-fill PLA and coating it in polyester resin to make sure it was watertight. Granted he could have just made the boat out of wood in the first place, saving himself the nearly 60 hours it took to print the hull parts, but that would have been cheating.

Beyond the servos and motors that move the boat and the oars, [electrosync] had to give his 3D printed fisherman a considerable amount of dexterity. Servos embedded into the 3D printed parts allow “Steve” to rotate at the hips and raise and lower his arm. With a fishing pole slipped into a hole printed into the hand, he’s able to cast out his magnetic bobber and see whats biting.

We’ve actually seen quite a number of projects that allow virtual objects inside Minecraft to interact with the real world, but comparatively few efforts to recreate objects from the game’s blocky universe, so the change of pace is nice.

Continue reading “RC Minecraft Boat Patrols The Pool For Treasure”

Putting Thousands Of Minecraft Players On The Same Server

Multi-threading was the common go-to technique for extracting more performance from a machine for several years. These days it’s all about horizontal scaling or adding more virtual machines to a pool of workers. The Minecraft server is still stuck in the past in some ways as it supports neither multi-threading nor horizontal scaling. [Jackson Roberts] decided to change all that by hacking Minecraft to support thousands of players rather than dozens.

Since the server is single-threaded, having more than 100 players on a single server can slow it to a crawl. Some mods try to optimize and speed up the existing server but [Jackson] wanted more. An early proof of concept was to slice the world into separate servers, each holding 64×64 chunks (chunks are what Minecraft defines as a 16x256x16 volume of the world). When crossing a boundary, entities such as players and zombies were transferred from one server to another. While workable, the demo had issues such as parts of the world being inaccessible if a server went down. The boundaries were also jarring as you had to reconnect and couldn’t see players outside your server.

Instead of splitting the world, [Jackson] took the approach to split the players and have some backing store for persisting and broadcasting changes. A proxy sits in front of several Minecraft servers, which each have a connection to a WorldQL server (a spatial database based on Postgres). Each server reports the player’s location to the WorldQL server and receives updates for their loaded locations. When a server comes online, it catches up with the changes stored in WorldQL and starts syncing, allowing servers to auto-scale. There are still a few core game mechanics that aren’t quite ready for prime-time such as NPCs and Redstone, but the progress so far is remarkable.

The code for the Minecraft plugin is up on GitHub, but more is coming in the future. So if you’re interested in something a little more vanilla, why not marvel at the completely playable Pokemon Red inside vanilla Minecraft?

Control An IRL Home From Minecraft

Minecraft seems to be a game in which anything is possible, both in the virtual world and in the real one. As a sandbox-style game, we’ve seen all kinds of things implemented in it including arithmetic logic units and microcontroller emulators. On the other end of reality we’ve also seen a lot of projects in which real-world interfaces impact the virtual world in some way. As a game, the lines between these two worlds often seem to blur, and that’s no different for this project that allows for control of a smart home from within the game itself.

The project is called HomeAssistantMC and is built with Forge. The mod interfaces directly with a Minecraft game. From within the game, players can create a model of their home complete with light switches and other control interfaces. A WebSocket API listens to the game for changes to these devices, and interfaces with real-world controllers which control the home in real life. The game uses special state blocks to handle the control, and the entire control system can be configured in-game once all of the appropriate software has been installed.

For anyone willing to experiment with this software, all of the code for this project is available on its GitHub page. One of the other interesting things about this project is the ability to use other creations within Minecraft for home automation. For example, building logic gates allows for nuanced control of the home automation setup with creations we’ve already seen in Minecraft before. And, if you really want to go deep into the weeds, you could even build a complete 6502 processor from within the game as well.

RGB Minecraft Sign Isn’t Just For Looks

This laser cut and LED illuminated version of the Minecraft logo created by [Geeksmithing] looks good enough to occupy a place of honor on any gamer’s shelf. But it’s not just decoration: it can also notify you about your Minecraft’s server status and tell you when players are online by way of its addressable LEDs.

In the first half of the video after the break, [Geeksmithing] shows how the logo itself was built by cutting out pieces of white and black acrylic on his laser cutter. When stacked up together, it creates an impressive 3D effect but also isolates each letter. With carefully aligned rows of RGB LEDs behind the stack, each individual letter can be lit in its own color (or not at all) without the light bleeding into either side.

Once he had a way of lighting up each letter individually, it was just a matter of writing some code for the Raspberry Pi that can do something useful with them. Notifying him when the server goes down is easy enough, just blink them all red. But the code [Geeksmithing] came up with also associates each letter with one of the friends he plays with, and lights them up when they go online. So at a glance he can not only tell how many friends are already in the game, but which ones they are. Naturally this means the display can only show the status of nine friends…but hey, that’s more than we have anyway.

We’ve been seeing people connect the real world to Minecraft in weird and wonderful ways for years now, and it doesn’t seem like there’s any sign of things slowing down. While we recognize the game isn’t for everyone, but you’ve got to respect the incredible creativity it’s inspired in young and old players alike.

Continue reading “RGB Minecraft Sign Isn’t Just For Looks”

Hackaday Podcast 077: Secret Life Of SD Cards, Mining Minecraft’s Secret Seed, BadPower Is Bad, And Sailing A Sea Of Neon

Hackaday editors Mike Szczys and Elliot Williams are deep in the hacks this week. What if making your own display matrix meant a microcontroller board for every pixel? That’s the gist of this incredible neon display. There’s a lot of dark art poured into the slivers of microSD cards and this week saw multiple hacks digging into the hidden test pads of these devices. You’ve heard of Folding@Home, but what about Minecraft@Home, the effort to find world seeds from screenshots. And when USB chargers have exposed and rewritable firmware, what could possibly go wrong?

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 077: Secret Life Of SD Cards, Mining Minecraft’s Secret Seed, BadPower Is Bad, And Sailing A Sea Of Neon”