Author Topic: New Map Format with Double Height  (Read 5890 times)

0 Members and 1 Guest are viewing this topic.

Offline Superman

  • Champion of the Sun
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 15,421
  • Karma: 48
  • Gender: Male
  • Master of karate and friendship for everyone.
New Map Format with Double Height
« on: February 15, 2012, 02:57:22 AM »
We're finally getting double height with 1.2. Even better, it will automatically update existing maps. Even better, it sounds like it also fixes some of the problems with the existing map format. This should be awesome.

I wonder, when it converts, if it will line up the bedrock and expand up from there, or if it will line up the sky and expand down. It'd be really cool if it expanded up. Think of the number of structures we've built that are based on the current height limit. They'll be the buildings from the olden days surround by newer taller towers.

Quote from: [url=http://www.mojang.com/2012/02/14/new-minecraft-map-format-anvil/
Mojang[/url]]Jon and I have been working on a new map format for Minecraft that we’ve dubbed “Anvil” (it’s just a name). The purpose of the new format is to prepare for modding, especially to allow for more block types, but also to improve other areas of the game (such as map height). The changes are:

Maximum build height has been increased to 256 (was 128)
Empty sections of the world are not loaded into memory
Block ids have been increased to 4096 (was 256) by adding a 4 bit data layer (similar to how meta data is stored)
Block ordering have been changed from x/z/y to y/z/x in order to improve compression
Packets for sending chunks have been updated (a full 128-high chunk is smaller than the old format, and a chunk with lots of empty space is much smaller)
Biomes are saved per x/z column, which means they can be altered by tools
The next snapshot, and Minecraft 1.2, will automatically convert worlds to the new format. The files of the current format (“McRegion”) will remain in your save folder, if you need to restore them for some reason.
« Last Edit: February 16, 2012, 09:20:07 AM by Superman »

Offline Superman

  • Champion of the Sun
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 15,421
  • Karma: 48
  • Gender: Male
  • Master of karate and friendship for everyone.
Re: New Map Format with Double Height
« Reply #1 on: February 17, 2012, 07:47:24 AM »
Okay. Sounds like it's just another 128 blocks of air above the clouds. No new terrain generation at this point.

Early reports seem to indicate that it improves the performance substantially.

Offline Poopyhead pianoman ♫

  • We're all in the mood for a melody
  • Hero Member
  • *****
  • Posts: 7,092
  • Karma: 14
  • Gender: Male
  • And he's got us feelin' alright
Re: New Map Format with Double Height
« Reply #2 on: March 01, 2012, 19:57:15 PM »
Good.  Cuz Minecraft is still crashing on me, albeit now with a warning that lets me close the application properly and restart more easily.
LOL @ Pam... if I had $20 for every time someone used that word with me... well....

I'd probably have like $60

Offline Superman

  • Champion of the Sun
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 15,421
  • Karma: 48
  • Gender: Male
  • Master of karate and friendship for everyone.
Re: New Map Format with Double Height
« Reply #3 on: March 02, 2012, 04:33:43 AM »
It's here. I can hardly believe we're actually getting double height. It's probably the biggest thing that's been on my wishlist.