Recently I found a mod which solves existing ID conflicts when it starts your game. It was very useful for me as I constantly mod my MC and get many ID conflicts.
However, it got me thinking: What if there was a mod which solves ID Overrides by changing the id's of items in mods by editing their config files or just changing them in-game, if the config files will not work?
First An ID Override Looks like this in the Launch Log:
2014-05-30 10:00:14 [INFO] [STDOUT] 2014-05-30 10:00:14 [INFO] [fml.ItemTracker] The mod Metallurgy3Base is overwriting existing item at 27400(dss.skillitem2 from dynamicswordskills) with rebelkeithy.mods.metallurgy.core.metalsets.ItemMetallurgy
CONFLICT @ 27400 item slot already occupied by dynamicswordskills.api.ItemSkillProvider@60a3d3b2 while adding rebelkeithy.mods.metallurgy.core.metalsets.ItemMetallurgy@239f7caf
What this is essentially doing is the metallurgy mod is overwriting the dynamic sword skills Item at that specific ID and using what the Metallurgy mod has in that ID in it's place. The crafting recipes that apply to the dynamic sword skills Item now apply to the Metallurgy item, as well as the Metallurgy item's crafting recipes, and also whenever something would drop or create that dynamic sword skills item, it would instead create the metallurgy item.
I have hundreds of these.
If someone could create a forge mod that would automatically solve these on startup, or create an interface to solve them with, I would be greatly Obliged, because 1) They only show up in the startup log and 2) they are a pain in the butt to solve.
Thanks!
Recently I found a mod which solves existing ID conflicts when it starts your game. It was very useful for me as I constantly mod my MC and get many ID conflicts. However, it got me thinking: What if there was a mod which solves ID Overrides by changing the id's of items in mods by editing their config files or just changing them in-game, if the config files will not work? First An ID Override Looks like this in the Launch Log:
2014-05-30 10:00:14 [INFO] [STDOUT] 2014-05-30 10:00:14 [INFO] [fml.ItemTracker] The mod Metallurgy3Base is overwriting existing item at 27400(dss.skillitem2 from dynamicswordskills) with rebelkeithy.mods.metallurgy.core.metalsets.ItemMetallurgy CONFLICT @ 27400 item slot already occupied by dynamicswordskills.api.ItemSkillProvider@60a3d3b2 while adding rebelkeithy.mods.metallurgy.core.metalsets.ItemMetallurgy@239f7caf
What this is essentially doing is the metallurgy mod is overwriting the dynamic sword skills Item at that specific ID and using what the Metallurgy mod has in that ID in it's place. The crafting recipes that apply to the dynamic sword skills Item now apply to the Metallurgy item, as well as the Metallurgy item's crafting recipes, and also whenever something would drop or create that dynamic sword skills item, it would instead create the metallurgy item. I have hundreds of these. If someone could create a forge mod that would automatically solve these on startup, or create an interface to solve them with, I would be greatly Obliged, because 1) They only show up in the startup log and 2) they are a pain in the butt to solve. Thanks!
There are a few things.
Firstly, with the new ID system in 1.7+ (using String-based IDs instead of integer-based IDs), mods like these are no longer needed.
Secondly, not all overrides are bad, some mods override other items (either from vanilla or other mods) to add custom functionality, for example, I'm pretty sure Railcraft overrides vanilla's rails to add in custom functionality.
Thirdly, I'm not too sure how easy, or possible maybe, handling non-config-based IDs will work. These IDs are hardset in the code, so maybe if there's an event in Forge / FML specifically for populating the items / blocks list, and a specific event for conflicts, you could maybe loop through the list and look for the nearest open slot on either side of the default ID, however I'm not too sure how efficient this will work, or if such event(s) exist.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
However, it got me thinking: What if there was a mod which solves ID Overrides by changing the id's of items in mods by editing their config files or just changing them in-game, if the config files will not work?
First An ID Override Looks like this in the Launch Log:
What this is essentially doing is the metallurgy mod is overwriting the dynamic sword skills Item at that specific ID and using what the Metallurgy mod has in that ID in it's place. The crafting recipes that apply to the dynamic sword skills Item now apply to the Metallurgy item, as well as the Metallurgy item's crafting recipes, and also whenever something would drop or create that dynamic sword skills item, it would instead create the metallurgy item.
I have hundreds of these.
If someone could create a forge mod that would automatically solve these on startup, or create an interface to solve them with, I would be greatly Obliged, because 1) They only show up in the startup log and 2) they are a pain in the butt to solve.
Thanks!
http://www.minecraftforum.net/topic/1928632-164smpforge-idfix-and-idfix-minus-mods-for-resolving-id-conflicts/
There are a few things.
Firstly, with the new ID system in 1.7+ (using String-based IDs instead of integer-based IDs), mods like these are no longer needed.
Secondly, not all overrides are bad, some mods override other items (either from vanilla or other mods) to add custom functionality, for example, I'm pretty sure Railcraft overrides vanilla's rails to add in custom functionality.
Thirdly, I'm not too sure how easy, or possible maybe, handling non-config-based IDs will work. These IDs are hardset in the code, so maybe if there's an event in Forge / FML specifically for populating the items / blocks list, and a specific event for conflicts, you could maybe loop through the list and look for the nearest open slot on either side of the default ID, however I'm not too sure how efficient this will work, or if such event(s) exist.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!