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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...