Question of the Day: #1Hey guys I am developing the API mod Ores++ ( http://plusplusmods.weebly.com/ ) and have one simple question: how do you allow infinite IDs? I know that hardware (and Java) have their limitations, and I will not abuse infinite IDs in my mod (too much). Thanks!
QOTD Number:Experience with subject:Answer:(See? It wasn't that hard, was it?)
Currently needed positions for team PantheraSecondary coder (works with me, does stuff when I'm out, works with Coding Advisor for debugging)Artisan (Artist)Coding Advisor (I come to you when I need help, you also do all of the debugging)~Empty Slot~
Position you are applying for:Experience regarding job:Java/mod experience:Special Skills:Age (approx.):Why do you want to be a Panthera?:Extras (anything else you want to add):
For this moment I am most worried about getting an artist in-hand. Please help out!
QOTD Number: No idea what this is
Experience with subject: Way more than enough to answer this question
Answer: 4096 blocks can be registered and I'm not sure how many items can be registered. IDs are no longer an important part of Minecraft modding as of 1.7 though so an "infinite" amount of IDs is not needed.
QOTD Number: No idea what this is
Experience with subject: Way more than enough to answer this question
Answer: 4096 blocks can be registered and I'm not sure how many items can be registered. IDs are no longer an important part of Minecraft modding as of 1.7 though so an "infinite" amount of IDs is not needed.
QOTD = Question of the Day (the first question would be when I have archived questions in a spoiler and the most recent one up top I know which one your talking about.)
How are IDs no longer relevant?
QOTD = Question of the Day (the first question would be when I have archived questions in a spoiler and the most recent one up top I know which one your talking about.)
How are IDs no longer relevant?
IDs are no longer used for identification, everything is referenced as an object. Blocks and Items are registered with a mod-unique String ID, meaning that conflicts cannot happen anymore.
IDs are no longer used for identification, everything is referenced as an object. Blocks and Items are registered with a mod-unique String ID, meaning that conflicts cannot happen anymore.
(facepalm) . If you clicked the link up there you will realize that you have basically told me that one of my main mods is dead in the water. Thanks anyway, though!
Wait, what if two mods try to create something like "copper_ore"?
(facepalm) . If you clicked the link up there you will realize that you have basically told me that one of my main mods is dead in the water. Thanks anyway, though!
Wait, what if two mods try to create something like "copper_ore"?
They will go under two different headers. Eg:
coolOres:copper_ore
epicOres:copper_ore
Rollback Post to RevisionRollBack
I'm working on an open-source mod called Craft++. Check it out!
U◦N◦I
U‣N‣I
Experience with subject: Way more than enough to answer this question
Answer: 4096 blocks can be registered and I'm not sure how many items can be registered. IDs are no longer an important part of Minecraft modding as of 1.7 though so an "infinite" amount of IDs is not needed.
How are IDs no longer relevant?
U◦N◦I
U‣N‣I
IDs are no longer used for identification, everything is referenced as an object. Blocks and Items are registered with a mod-unique String ID, meaning that conflicts cannot happen anymore.
Wait, what if two mods try to create something like "copper_ore"?
U◦N◦I
U‣N‣I
They will go under two different headers. Eg:
coolOres:copper_ore
epicOres:copper_ore
I'm working on an open-source mod called Craft++. Check it out!
U◦N◦I
U‣N‣I