Hello and Welcome back to the forum We have had a minor Maintenance break that fixes the following:
Announcements being 1,000 years old.
Forum Ranks Updated.
*Fixed Stability Issue on the Voting System
*Added New Secret Forum Ranks
*Fixed Logo Dimensions being slightly off
Welcome To Minefreaks!

The Main Minefreaks Server HAS RELEASED FINALLY

Minecraft Server IP: minefreaks.mcserverdns.com
Mumble IP: Not Yet Announced
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» I'm reaching that stage....
Sat Apr 20, 2013 11:24 am by Blablaman86

» It's me Blablaman86!! :D
Sat Apr 20, 2013 10:50 am by Blablaman86

» From outer space
Sat Apr 20, 2013 10:43 am by Blablaman86

» Hello ppl!
Mon Jan 14, 2013 10:50 pm by bosky2102

» MOre stuff for you not to know
Fri Jan 11, 2013 7:23 pm by cpt_dust

» SOMETHING FOR YOU NOT TO KNOW
Thu Jan 10, 2013 12:24 am by bosky2102

» Connect reset.
Sat Dec 15, 2012 9:45 am by bosky2102

» What's in my __?
Wed Dec 12, 2012 4:58 am by sk3847

» The Guess Why Your Username is What it is Game
Sun Dec 09, 2012 7:14 pm by Shepard65

Top posting users this week

Minefreaks Survival Server

You are not connected. Please login or register

New Minecraft Map Format, “Anvil”

Go down  Message [Page 1 of 1]

cpt_dust

avatar
Dungeon Raider
maybe a little late but better late then never! Actuallt Jeb posted it on the 14th of February!

Hello!

Jon and Jeb 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.

Jeb prepared a converter (with source code) for tool makers that wants to be prepared. You do not need to use this to convert your maps! It’s only for reference!

Download the converter+source on www.mojang.com

Some info:
■The 16x128x16 “Blocks”, “Data”, “SkyLight” and “BlockLight” tags are removed
■A “Sections” tag has been added with up to 16 compound tags
■Each section has 16x16x16 “Blocks”, “Data”, “SkyLight” and “BlockLight” tags
■Each section has a “Y” integer tag saying which section it is (note that some Y positions can be skipped). 0 is at the bottom of the world and 15 is the topmost section
■Each section also has a “AddBlocks” tag, which is a DataLayer byte array just like “Data”. The “AddBlocks” tag is not included in the converter since the old format never had block ids above 255. This extra tag is created whenever a block requires it, so the getTile() method needs to check if the array exists and then combine it with the default block data. In other words, blockId = (addBlock << Cool + baseId.
■Each chunk has a 16×16 byte array with biome ids called “Biomes”. If this array is missing it will be filled when the game starts. The converter doesn’t include any biome sources, though (it had too many dependencies to be included).
■Note that the old format is XZY and the new format is YZX (see the difference between DataLayer and OldDataLayer).
■The new format uses the extension “.mca” instead of “.mcr” (the old format is kept for safety, with the level.dat backed up as “level.dat_mcr”)

Finally, a shoutout to Robinton’s hard work on his mods: http://www.minecraftforum.net/topic/310298-100robintons-mods/

bye -cpt king

https://www.youtube.com/user/crazyhousemaffia
Share this post on: diggdeliciousredditstumbleuponslashdotyahoogooglelive

No Comment.

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum