Jump to content

Add mod to the dev env in intellij


Infinity123

Recommended Posts

I want to add support for the Ore_Tree mod in BotanyPots (BotanyTree addon). To test the changes I need to start BotanyPots together with the Ore_Tree mod. However I am incapable of doing so. I tried to add Ore_Tree to the build_gradle dependency, the libs folder and even the run/mods folder. But none of it worked. I googled a long time and did not find a solution. What did I do wrong?

Link to comment
Share on other sites

I managed to get it working with adding

flatDir { dirs 'libs' } to repositories and 

implementation fg.deobf("whatever.whatever.whatever:oretree:1.16.5") to dependencies

 

All these did not work:

compile files("libs/Ore_Tree_v0.1.0.jar")

compile fg.deobf(files("libs/Ore_Tree_v0.1.0.jar"))

implementation files("libs/Ore_Tree_v0.1.0.jar")

implementation fg.deobf(files("libs/Ore_Tree_v0.1.0.jar")) 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.