Jump to content

Item/Block IDs in Minecraft 1.7


SackCastellon

Recommended Posts

As always the answer is not black or white but gray.

Here is how it works:

Blocks/Items have unique (string) identifiers such as

minecraft:stone

.

To avoid blowing up the size of the save-files (and Minecraft's memory-consumption), they are mapped to integer-ids.

But those mappings are dynamic, which means that in world A

minecraft:stone

could be Id 1 and in World B it could be Id 1254 or whatever.

Those mappings are saved alongside with the world.

 

TL/DR: Yes, Minecraft will use Integer ids internally, but you don't have to care about them or any possible conflicts at all.

 

Thanks, that was all i wanted to know.

Only one question more, the IDs still will be limited to 4096 for blocks and 32000 for Items, or they will be "unlimited"?

Link to comment
Share on other sites

It is limited by what the world format can support, so as there are no changes to the world format in 1.7 you can still only have 32000 items (including 4096 blocks)

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

It is limited by what the world format can support, so as there are no changes to the world format in 1.7 you can still only have 32000 items (including 4096 blocks)

 

:( :(  :'( :'(

 

That's a bad new, i thought the ID would become "unlimited" or any case bigger than 32000, because i had planned to make a mod of about 16.800.000 blocks.

Link to comment
Share on other sites

Are you REALLY gunna have more then 4096 blocks loaded at a single time.. I think not.

And if you do, either the modder should be shot or you need to reign things in.

'Unlimited' never exists, there will ALWAYS be a limit, this one is in place based off the save format.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

'Unlimited' never exists, there will ALWAYS be a limit, this one is in place based off the save format.

 

And in turn limited by memory addressing size.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Are you REALLY gunna have more then 4096 blocks loaded at a single time.. I think not.

And if you do, either the modder should be shot or you need to reign things in.

'Unlimited' never exists, there will ALWAYS be a limit, this one is in place based off the save format.

And in turn limited by memory addressing size.

 

Thanks to everyone, i'll try to find some way to solve my problem  ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.