Posted January 29, 20232 yr So I'm making a custom modpack, and would like to develop a mod specifically for it. I should only need to add a few compile dependencies, for mods I'm working directly with, but I would like to have all of the mods present while playing. I have all the jars in a folder, but it gets changed a lot (adding/ updating mods) is there any way i can have those jars get copied into my session's mods folder when I run it?
January 31, 20232 yr You can add a flat directory to the mods folder and then iterate through all files and add them as implementations that are fg.deobf in your buildscript, but that requires you to understand how gradle works and is not particularly related to this forum.
February 1, 20232 yr Author On 1/31/2023 at 6:54 AM, ChampionAsh5357 said: You can add a flat directory to the mods folder and then iterate through all files and add them as implementations that are fg.deobf in your buildscript, but that requires you to understand how gradle works and is not particularly related to this forum. Could you send me a link or a tutorial of that concept, I'm not really understanding, sorry. My only gradle knowlege is that it runs my project lol
February 2, 20232 yr 16 hours ago, DJLas3r said: Could you send me a link or a tutorial of that concept, I'm not really understanding, sorry. The FCW has something on dependencies. Then, you just need to learn groovy/kotlin to loop through all the files in a given folder.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.