Jump to content

Patching a value in another mod


Recommended Posts

So I've been reading in the wiki on JSON patching and modding compatibility and I am lost at how to patch another mod's asset from my own mod.  I feel that there is probably a method for doing this and so far from the compatibility wiki page it speaks of two methods - one which looks like maybe you replace the file completely in that mod?  or add a file?  And then another using a patch method using the dependsOn method.

Literally all I want to do is change one modded items' recipe to use a different item to make it but I'm not sure exactly how to go about doing that.  I was thinking that you could change the asset using the dependsOn method but I'm not sure what I need to do to reference the other mod's asset. in my patch file.

Or would it be better to make my own recipe itself and then reference the mod's item in the recipe and somehow make that recipe dependent on that other mod being used?

Any help would be highly appreciated.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.