Futurecraft Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Futurecraft Forums

A forum dedicated to communication and innovation!
 
HomeLatest imagesSearchRegisterLog in
Welcome, one and all, to the Futurecraft Forums!

 

 Jeb's New World Format

Go down 
+5
GLaDOS
Keon
Danice123
Laibach
fr0stbyte124
9 posters
Go to page : 1, 2  Next
AuthorMessage
fr0stbyte124
Super Developrator
Super Developrator
fr0stbyte124


Posts : 1835
Join date : 2011-10-13

Jeb's New World Format Empty
PostSubject: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 3:19 pm

It's called "Anvil".
http://www.mojang.com/2012/02/14/new-minecraft-map-format-anvil/

Quote :

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.

I’ve 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 here

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 << 8) + 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/

Cheers,

// jeb_

I don't yet know what this will mean for Futurecraft, but it is interesting. Besides doubling the world height, it's got a bit of a cubic chunks feel to it, like isolating chunks to 16^3 sections.
Also the block ID slots have been increased from 256 to 4096, which is fantastic. And I think before this is done there will also be native support for both HD textures and multiple texture pages. In short, Minecraft is all of a sudden taking on lots of engine mods from the community, and that's fantastic. But regarding the save model, that alone shouldn't affect us terribly, but its implications on what that does to the internal world format will.

Gonna be playing this one by ear.
Back to top Go down
Laibach
General
General
Laibach


Posts : 2024
Join date : 2012-01-23
Age : 73
Location : Frozen Fields

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 3:40 pm

fr0stbyte124 wrote:
It's called "Anvil".
http://www.mojang.com/2012/02/14/new-minecraft-map-format-anvil/

Quote :

stuff jeb said

I don't yet know what this will mean for Futurecraft, but it is interesting. Besides doubling the world height, it's got a bit of a cubic chunks feel to it, like isolating chunks to 16^3 sections.
Also the block ID slots have been increased from 256 to 4096, which is fantastic. And I think before this is done there will also be native support for both HD textures and multiple texture pages. In short, Minecraft is all of a sudden taking on lots of engine mods from the community, and that's fantastic. But regarding the save model, that alone shouldn't affect us terribly, but its implications on what that does to the internal world format will.

Gonna be playing this one by ear.


that looks like good news, from what i can understand anyway

thanks for posting it!
Back to top Go down
Danice123
DEV
DEV
Danice123


Posts : 607
Join date : 2012-01-06
Age : 30
Location : The Dankins

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 4:45 pm

I feel like this solves a lot of problems for us. Now to wait until it's released...
Back to top Go down
http://wbcentral.com
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
Keon


Posts : 3076
Join date : 2012-01-17
Location : Hahahaha.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 7:14 pm

Yep, saw this a while ago, nearly jumped for joy. Frost, as you were saying, Jeb isn't they guy who likes to fix the engine, he just steals it from the modders!
(Actually that would be a big honor.) Good news, I guess!
Back to top Go down
fr0stbyte124
Super Developrator
Super Developrator
fr0stbyte124


Posts : 1835
Join date : 2011-10-13

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 10:27 pm

I didn't say that. I said he doesn't like working on the engine, so he collaborates with modders. Which is like stealing only you get free technical support, so really it's even better.
Back to top Go down
Danice123
DEV
DEV
Danice123


Posts : 607
Join date : 2012-01-06
Age : 30
Location : The Dankins

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 10:37 pm

Collaboration: Stealing with free technical support.

Thats a quotable quote Smile
Back to top Go down
http://wbcentral.com
Laibach
General
General
Laibach


Posts : 2024
Join date : 2012-01-23
Age : 73
Location : Frozen Fields

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 10:43 pm

fr0stbyte124 wrote:
I didn't say that. I said he doesn't like working on the engine, so he collaborates with modders. Which is like stealing only you get free technical support, so really it's even better.

wait, so does he work with you??? Very Happy

(I'm not really joking, and would you offer to let them(mojang) integrate part of this mod into vanilla minecraft if they wanted to?)
Back to top Go down
fr0stbyte124
Super Developrator
Super Developrator
fr0stbyte124


Posts : 1835
Join date : 2011-10-13

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 10:59 pm

Oh man, I would collaborate with them so hard, you don't even wanna know.
Back to top Go down
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
Keon


Posts : 3076
Join date : 2012-01-17
Location : Hahahaha.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 11:02 pm

They would never. Except maybe Copernicus. Not spaceships.
Back to top Go down
Laibach
General
General
Laibach


Posts : 2024
Join date : 2012-01-23
Age : 73
Location : Frozen Fields

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 11:03 pm

Keon wrote:
They would never. Except maybe Copernicus. Not spaceships.

that's what i meant
Back to top Go down
fr0stbyte124
Super Developrator
Super Developrator
fr0stbyte124


Posts : 1835
Join date : 2011-10-13

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 11:24 pm

I'll be doing work at some point on the network protocol. That, at least, would probably be something worth integrating.

I'm also a little surprised they haven't done anything with Optifine yet. I know there is a story behind that but I don't remember the details.

*edit*
Found it. He couldn't come to an agreement with Mojang over compensation. It's like he doesn't know how collaborating works...
Back to top Go down
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
Keon


Posts : 3076
Join date : 2012-01-17
Location : Hahahaha.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 11:34 pm

Or the fact that they are mojang. I mean, if I had an epic mod and Notch/Jeb said "Would you let us put it it?" I would stuff money in their face and beg them to.
Back to top Go down
GLaDOS
Infantry
Infantry
GLaDOS


Posts : 703
Join date : 2011-12-12
Age : 53
Location : At Aperture Science, testing P-Body and Atlas.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 11:46 pm

I would Avada Kedavera both of them and take over Mojang with my Dark Arts.
Back to top Go down
https://futurecraft.forumotion.com
Laibach
General
General
Laibach


Posts : 2024
Join date : 2012-01-23
Age : 73
Location : Frozen Fields

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeTue Feb 14, 2012 11:55 pm

daman200 wrote:
I would Avada Kedavera both of them and take over Mojang with my Dark Arts.


...

is that.. good?

I assume no
Back to top Go down
GLaDOS
Infantry
Infantry
GLaDOS


Posts : 703
Join date : 2011-12-12
Age : 53
Location : At Aperture Science, testing P-Body and Atlas.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 12:03 am

Haven't sen Harry Potter? Avada Kedavera!

Mod Edit: Expelliarmus! But seriously, Magic doesn't mix with Technology.
Back to top Go down
https://futurecraft.forumotion.com
Cool3303
Recruit
Recruit
Cool3303


Posts : 205
Join date : 2012-01-21
Age : 111
Location : In a bunker waiting for the wl invasion

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 9:31 am

Little Question why is the server world from Tacokingbob 64 Blocks high???
Back to top Go down
Pat Best
Marine
Marine
Pat Best


Posts : 1497
Join date : 2012-01-30
Location : I am here. I am there. I am everywhere.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 10:37 am

Cool3303 wrote:
Little Question why is the server world from Tacokingbob 64 Blocks high???

It's not, you're just not very bright.
Back to top Go down
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
Keon


Posts : 3076
Join date : 2012-01-17
Location : Hahahaha.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 11:43 am

If I could sig, that would be my sig. Anybody want to enlighten him, because I don't. Let him stay in the darkness forever.
Back to top Go down
Cool3303
Recruit
Recruit
Cool3303


Posts : 205
Join date : 2012-01-21
Age : 111
Location : In a bunker waiting for the wl invasion

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 12:57 pm

Okay If the world from Tacokingbob is higher than 64 how do you explain that I just can build 64 Blocks
Back to top Go down
Laibach
General
General
Laibach


Posts : 2024
Join date : 2012-01-23
Age : 73
Location : Frozen Fields

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 1:30 pm

Cool3303 wrote:
Okay If the world from Tacokingbob is higher than 64 how do you explain that I just can build 64 Blocks

look down, add to the 64
Back to top Go down
Cool3303
Recruit
Recruit
Cool3303


Posts : 205
Join date : 2012-01-21
Age : 111
Location : In a bunker waiting for the wl invasion

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 1:39 pm

Okay sorry my fault I haven´t the Normla height (Fishtaco rocks) so I thought the World height would be 128 from the water
Embarassed Embarassed Embarassed
Back to top Go down
Laibach
General
General
Laibach


Posts : 2024
Join date : 2012-01-23
Age : 73
Location : Frozen Fields

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeWed Feb 15, 2012 2:04 pm

glad to help
Back to top Go down
Cool3303
Recruit
Recruit
Cool3303


Posts : 205
Join date : 2012-01-21
Age : 111
Location : In a bunker waiting for the wl invasion

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeThu Feb 16, 2012 2:25 am

CoalMiningAlchemist wrote:
glad to help

Who are you and what have you Done with our Coal Mining Alchemist?
Back to top Go down
Laibach
General
General
Laibach


Posts : 2024
Join date : 2012-01-23
Age : 73
Location : Frozen Fields

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeThu Feb 16, 2012 12:42 pm

somebannedguy wrote:
CoalMiningAlchemist wrote:
glad to help

Who are you and what have you Done with our Coal Mining Alchemist?



am I that much of a troll? Very Happy
Back to top Go down
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
Keon


Posts : 3076
Join date : 2012-01-17
Location : Hahahaha.

Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitimeThu Feb 16, 2012 12:49 pm

I get the happys from seeing Cools avatar and location.
No, you aren't. You seem pretty sane, actually.
Back to top Go down
Sponsored content





Jeb's New World Format Empty
PostSubject: Re: Jeb's New World Format   Jeb's New World Format Icon_minitime

Back to top Go down
 
Jeb's New World Format
Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» THE WORLD IS FALLING APART
» It's the End of the World
» ITS THE END OF THE WORLD 2
» OUR WORLD...
» World of Warcraft

Permissions in this forum:You cannot reply to topics in this forum
Futurecraft Forums :: General Area :: Off-Topic Area-
Jump to: