Dekkan Posted February 13 Report Share Posted February 13 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 More sharing options...
DArkHekRoMaNT Posted February 14 Report Share Posted February 14 Patch the recipe with "dependsOn": [{ "modid": "othermodid" }] or add a new recipe to assets/yourmodid/compatibility/othermodid/recipes/.../newrecipe.json . In the patch you can use "file": "othermodid:recipes/../originalrecipe.json" Link to comment Share on other sites More sharing options...
Recommended Posts