Jump to content

Recommended Posts

Posted

We don't deal with blocks by ID anymore, we deal with them by Block/Item objects.

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.

Posted

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"?

Posted

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.

Posted

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.

Posted

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

Posted

'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.

Posted

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  ;)

Posted

How will the unique identifiers impact the current use of meta data for compacting various blocks into a single ID, Will we be less concerned with saving id space?

 

Posted

You are still limited to 4096 block IDs, which ain't a concern unless youre mod adds thousands of blocks for a valid reason (rp2 pannels i.e.)

 

So well normally it won't be a big concern for ya :P

If you guys dont get it.. then well ya.. try harder...

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.

Announcements



×
×
  • Create New...

Important Information

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