Started by
playvital
on
Topic category: Help with Minecraft modding (Java Edition)
I have this problem : I made a mod complicating minecraft and I want to make an add-on to the Create mod, in which I want to change the recipes from Create to more complex, but I don't know how.
This is a bit complex, but it can be done.
1. you need to get a compressed file viewer such as 7zip.
2. you need to locate the .jar file of whatever mod you want to change the recipe of.
3. you need to open it to view what is inside of it. For 7zip, this is titled open archive.
4. click on the folder titled data.
5. find the recipe in the path from data, it will likely be something like data->modid->recipe->category->recipeid. However, the exact path could vary some depending on how the mod author formats things.
6. open the workspace file of your mod.
7. go to src, then main, then resources, then data.
8. add files into your mod's data folder to create the same path as the recipe you want to change. For example, if you wanted to change one of create's crushing recipes, you would add a folder called 'create' to the 'data' folder, then inside the 'create' folder, add a 'recipe' folder, then inside of that, add a 'crushing' folder.
9. in the path you created, add a new text file, then rename it to exactly the same as the file of the recipe you want to override. If you want to override the recipe that crushes wool into string, create a new text file in your mod's src folder with the create->recipe->crushing path, and title it wool.json also, don't worry about the warning that comes up when changing a file extension from .txt to .json it won't harm you computer to do so.
10. fill out the recipe file, I would recommend copying and pasting the contents from the other mod's recipe file so you can see the proper formatting required for it, but if you know what you are doing, you can completely create it from the blank file.
After that, you should be done.