[Minecraft 1.7.3] World Downloader Mod

With this mod you can download parts of a multiplayer world (Earth/Nether) while you are connected to the server.
It adds a button to the multiplayer ESC menu that allows you to dump any incoming world data to disk, effectively creating a singleplayer clone of a remote multiplayer world.
Not a perfect clone as it can only save the “chunks” it receives from the server. To download the whole world you’d have to visit every modified place.
It also saves your inventory, position and health at the time you stopped the download.
The mod will not cause any additional load on the server because it never actively requests anything. It lets Minecraft do all the loading and buffering and then right before MC overwrites a buffered chunk that is no longer needed, it saves this chunk to disk. This will only slow down the client a bit when your HDD is too slow. It also saves the complete chunk buffer when stopping downloading or disconnecting.
If you modify something in singleplayer mode on a downloaded world, the changes are very likely to be overwritten the next time you download a newer version of the world. The local copy of the world will be overwritten chunk by chunk, not as a whole. Once a chunk is saved it will not be deleted again, only updated (overwritten).
All chunks that are to far away from the player while downloading will not be copied. However if you play this world in singleplayer mode these chunks will be generated on the fly based on the world’s “seed” value which of course will also be downloaded. The generated scenary will look like the server world looked like before any human modifications.
Note that in the downloaded world all container blocks (e.g. chest, dispenser, …) will be empty. Currently I don’t know if I can do something about this. Not anymore!
To save the contents of Chests, Dispensers and Furnaces open them while downloading.
To save the pitch of a note block hit it or activate it with redstone while downloading.
To-do list:
  • Make it possible to save maps
Bugs:
  • All downloaded mob spawner cages will spawn pigs (This is because of a bug in the Minecraft server)
  • All downloaded jukeboxes will be empty (I don’t think this is worth the effort. Just put the music discs somewhere else.)
How to install:
Open your minecraft.jar* with an archive tool like 7zip or WinRAR.
Put the class files you just downloaded in there. Overwrite if necessary.
Delete the META-INF folder if it exists in the jar file.
Close the archive and save if asked.
Done.
* You can find this file on …
  • Windows by entering %APPDATA%\.minecraft\bin in an Explorer window or in the start->run dialog.
  • Linux by entering ~/.minecraft/bin/ in a file manager of your choice.
  • Mac OS X by opening Library/Application Support/minecraft/bin in Finder.
Outdated demo videos: The part about WorldDownloader starts at 40s.


Outdated screenshots of the standalone version:
Posted Image Posted Image
Posted Image Posted Image
Changelog:
1.5.1 -> 1.5.1a
  • Fixed the bug where air filled chunks were appearing in random places.
1.5.1a -> 1.6.5
  • The contents of chests, dispensers and furnaces can now be saved by opening them.
  • Note blocks save their pitch if they are activated.
  • The chunk loader/saver now has to do the double amount of work (client-side only, no additional server-side cost).
  • Downloading the Nether is also possible now.
1.6.5 -> 1.6.6
  • Fixed the file size calculation. I don’t think it’s perfect but it works.
  • Fixed chests/dispensers/furnaces being empty after updating a world without clicking them
  • Fixed the crash when trying to download a burning furnace
  • Loading previously saved TileEntities now requires less CPU and memory
  • Fixed signs losing their world reference when saving
  • Changed start/stop texts and colors a bit
  • Added a ModLoader compatible version
1.6.6 -> 1.7.3
  • Spawn point won’t be set to 8,64,8 when you die while downloading.

Download Link:

http://www.mediafire.com/?ga6q3t3g03qoai9