Climate change arrives in the world of cult video game Minecraft thanks to a carbon emissions hack developed at the Stockholm Green Hackathon

Saving the planet's all very well, but it's not always the most fun thing in the world. Games, however, are fun. Why not combine the two?

My favourite game at the moment is Minecraft, which (amongst other things) involves using resources to make things, and quite often burning them to do so. Seems like it might be a good fit…

So, at the Stockholm Green Hackathon last weekend, I hacked up a mod for Minecraft that adds carbon emissions, but instead of just putting in some random numbers for it, I used AMEEconnect to get real scientific data from the IPCC in there.

When you burn some wood in a furnace, the mod calls out to AMEEconnect to do a calculation, and adds the result to a tracker in-game. As the carbon ticks up, the environment gets more and more polluted as the skies go dark and the clouds come down. OK, not entirely accurate, but an effective visual indicator!

Of course, it's not just wood. Loads of things burn, and not just in furnaces. The hack supports combustion of almost anything in minecraft; wood, planks, coal, tree saplings, and so on. I even put in some calculations for setting fire to cows (as any Minecraft player knows, an effective way to quickly get cooked beef). Even the hostile mobs like creepers have their emissions mapped (mostly to generic biomass calculations). I also added redstone (like electricity) emissions using realtime UK national grid data.

Of course, there are also ways to remove carbon from the atmosphere. Plant a tree, and the mod will work out how much carbon was taken up by the tree growing and reduce the tracker by that amount. After a long day of mining and smelting, you'll have to go plant a few trees to keep the weather nice.

Check out the videos for more on the full story. Warning: may contain burning cows!

• This post was first published on the AMEE blog. James Smith is a platform evangelist for environmental information company AMEE