Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

The most recent weekly snapshot release of Minecraft features a number of changes, including but not limited to:

•Added new world file format called 'Anvil' (256 max height and 4096 block IDs

What is a "Block ID" and what does such a large number of them mean for me as a average player?

share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

Every block in the game has a corresponding ID: it's what allows the game to know you're looking at, say, a dirt block instead of a block of sand.

Before this change, there were only 2561 block IDs, which means there could only ever be 256 different blocks in the game.2 Now, there's enough room for over 4,0001 of them, which should be enough room for years to come.

It also provides modders a way to claim block IDs without stepping on each other's toes (so-called "collisions"): there were helper mods that extended the block ID space, but with over 3,500 unique, unused IDs, there's significantly less chance of any two mods using the same set of IDs with the native block handling.


Note 1: Why 256 and 4,096 instead of round numbers like 250 or 4,000? Because data is digital, it's stored in the binary (base 2) format. 256 = 28 which means 8 bits of space were reserved for block IDs. 4,096 = 212 meaning 4 bits of extra space were added to store the IDs.

Note 2: Even less, if you consider all the things that you might not consider a block but actually was, like the portal material and other technical blocks.

share|improve this answer
    
That was amazingly fast and quite comprehensive. Thanks and Good Job! Edit: You answered too quickly, I can't accept yet, lol. I will as soon as the minimum time expires. –  Ender Feb 18 '12 at 6:36
1  
@Ender Here at Stack Exchange, we aim to get you your answer in 10 minutes or less, or your money back! –  user3389 Feb 18 '12 at 6:51
    
Still... 3 minutes for that amount of detail is pretty impressive. –  Fluttershy Feb 18 '12 at 6:55
    
He said $ didnt he? $? I heard $! –  Ender Feb 18 '12 at 8:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.