Jump to content

Recommended Posts

Posted

Hey was just wondering when making a mod pack. If you have to edit id's in mods then when it comes to updating these mods at a later date do the ids just revert to the original id or does it stay what you made it plus add any new id's in ? , if it overwrites any changes you have made then how do you prevent this ? or is it simply a case of everytime u update a mod u need to do all the id changes again ? .

 

Thanks in advance for any help

  • Discord Moderator
Posted

When updating a mod you can go about it a couple ways:

  • Any mod that is properly developed will be using one of the configuration persistence APIs provided by Forge/MC (or one they provide separately). This will update the config with new entries as needed and you would just need to tweak these to ensure compatility with existing worlds/mods. Make sure you keep a backup of the file to compare with but it is usually pretty straight forward.
  • If it is a major update (like moving from Mekanism 5.7 to 6.0) you might want to move/remove an existing config file and let the mod make a new one. Then compare the new one to the old one and carry over any ID changes you need.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...