Monday, 24 November 2014

Minecraft Sat Nav

A couple of months back the ordnance survey created version 2 of their Minecraft map of Great Britain, its got loads more detail than the original, and is even more brilliant than there first one.

It is however a pain to get around...  Welcome "Minecraft Sat Nav", utterly ridiculous, totally pointless but at the same time brilliant.

Imagine you are exploring Minecraft Great Britain and you suddenly realise you need to get to Macclesfield but dont know the way, simple fire up Minecraft Sat Nav (patent pending!) and type navigate Macclesfield and it will give you a street by street navigation between your location and a town which was previously one of the world's biggest producers of silk!


How does it work?  Here are some facts:
  1. Its a python program
  2. It uses a Canarymod minecraft server to host the map
  3. The RaspberryJuice plugin is used to talk to Minecraft
  4. It uses the MapQuest open API's to get the locations and directions
  5. I reverse engineered Ordance Survey's 'conversion tool' to work out how to turn eastings and northings into Minecraft co-ordinates
  6. I used Hannah Fry's awesome python code to turn latitude and longitude into eastings and northings
  7. Its got a low tech 'retro styled' command line interface
You want to have a go yourself?  Here's a guide:
  1. Buy yourself a copy of Adventures in Minecraft ;) - honestly you really cant go wrong and it'll teach you what you need to know to make your own Minecraft Sat Nav!
  2. Setup a Canarymod server with RaspberryJuice
  3. Download the Ordnance Survey Minecraft GB map
  4. Replace the default world in canarymod with the Minecraft GB map
  5. Download the Minecraft Sat Nav program
  6. Run the MinecraftSatNav.py python program
The commands are really simple:
  • teleport <location> e.g. teleport london
  • navigate <destination> e.g. navigate fort william
  • navigateFrom <start>,<dest> e.g. navigate sheffield, grindleford
  • exit
Enuf said..

4 comments:

  1. Replies
    1. The program will run a treat, the full map at 20gb is somewhat large, a snippet, say a small Village no problem.

      Delete
  2. Hi Martin, How do you Replace the default world in canarymod with the Minecraft GB map please?

    Andrew

    ReplyDelete
    Replies
    1. Download the zip file from ordnance survey and uncompress the contents to the "worlds/default/default_NORMAL" directory

      Delete