Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I only want to know if the Item/Block ID in Minecraft 1.7 are based on Integers (numbers) as always or they are based on Strings (text).

 

Thanks.

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.

  • Author

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

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.

  • Author

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.

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

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

  • Author

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

I really hope this means its the end of ID conflicts.

That's exactly what it does.

Good to know, ID conflicts really frustrated me.

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?

 

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.