Posted November 4, 201311 yr 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.
November 4, 201311 yr 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.
November 4, 201311 yr 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"?
November 5, 201311 yr 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.
November 5, 201311 yr 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.
November 5, 201311 yr 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
November 5, 201311 yr '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.
November 5, 201311 yr 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
November 6, 201311 yr 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.
November 7, 201311 yr 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?
November 8, 201311 yr 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 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.