Jump to content

How do I Add A Mod as an API?


Unknown_303

Recommended Posts

If you're using gradle, it's as simple as declaring a directory to be a repository.

repositories {
    flatDir {
        dirs 'libs'
    }
}
dependencies { implementation name: 'my-jar-file-1.0.0' }

I've seen some newer threads online do it like this though:

dependencies { implementation files('libs/my-jar-file-1.0.0.jar') }

There are a lot of Gradle threads online that walk through how to do this. I recommend finding some more for yourself if these don't work.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Entrusting one's hard-earned money to the wrong hands can have devastating consequences. My journey began innocently enough, sparked by the success story of a former coworker who boasted of her newfound wealth and attributed it to the guidance of an investment coach. Intrigued by her lavish lifestyle, I delved deeper into the world of stock trading, eager to replicate her success. Upon contacting the purported investment coach, David Willson, I was met with promises of quick riches and convenient trading platforms. Eager to seize the opportunity, I followed his recommendations and funded my trading account with a significant sum of $109,000. However, what followed was a series of red flags and suspicious transactions that left me questioning the legitimacy of the entire operation. Despite completing numerous trades within my first week, attempts to withdraw my profits were met with resistance and dubious excuses. The company insisted on additional fees for gas and maintenance, a requirement that had never been mentioned before. As doubts gnawed at my conscience, I realized I had fallen victim to a sophisticated scam, orchestrated by individuals preying on unsuspecting investors. Feeling helpless and betrayed, I turned to TECK WEB SERVICES, a beacon of hope amidst the chaos. From the moment I reached out to them, their team exhibited understanding the gravity of my situation. They conducted a thorough investigation, meticulously analyzing every aspect of the scam to uncover the truth. TECK WEB SERVICES technical expertise are experienced. Despite the complexity of the case, they remained steadfast in their pursuit of justice, leaving no stone unturned in their quest to reclaim what was rightfully mine. With the information I provided, TECK WEB SERVICES  successfully traced the origins of the scam and identified the culprits responsible for my financial misfortune. Their swift action and relentless determination culminated in the recovery of all lost funds, restoring my faith in humanity and the promise of a brighter future. The amount recovered, totaling $109,000, served as a testament to TECK WEB SERVICES unparalleled capabilities and unwavering commitment to ethical practices. Their transparency and willingness to explain their procedures instilled a sense of trust, which was crucial during such a trying time. I cannot recommend TECK WEB SERVICES highly enough to anyone who finds themselves ensnared in the clutches of financial fraud. Their exceptional service is good. If you ever find yourself facing a similar ordeal, don't hesitate to seek help from TECK WEB SERVICES. Let TECK WEB SERVICES be your savior. 
    • I tried implementation name, but gradle is telling be I should be using implementation fg.deobf(), but how would I do that?   Edit: I fixed it.
    • Add the crash-report or latest.log (logs-folder) with sites like https://mclo.gs/ and paste the link to it here  
    • Make a test with a pre-configured modpack from curseforge Most of these already have a server pack
    • I tried implementation name, but gradle is telling be I should be using implementation fg.deobf(), but how would I do that?
  • Topics

×
×
  • Create New...

Important Information

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