Jump to content

An addon without dev version


Ykyki4

Recommended Posts

So, i try to make an addon to FirstAid mod, but i cant understand how. I tried to use the deobfuscator 3000, it maked a folder that is a deobf version of the mod, but its not zip or jar, and all the imports are broken. Im trying to do the addon like 5 days, i tried all the bon2 versions, but its not working. Can anybody give me a tutorial how to do an addon?

Link to comment
Share on other sites

On 8/5/2022 at 10:24 PM, Luis_ST said:

Why did you try to deobfuscate a Mod? You should add the Mod as a dependency instead.

https://www.cursemaven.com/

> Could not find method api() for arguments [curse.maven:firstaid-276837:3569536] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

I get this error, i do all exactly how in the cursemaven

repositories {
    maven {
        url "https://cursemaven.com"
    }
    flatDir {
        dirs "libs"
    }
}

dependencies {
    
    minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2859'
    api "curse.maven:firstaid-276837:3569536"
    implementation fg.deobf("curse.maven:ctm-267602:2642375")
      
      
buildscript {
    repositories {
        maven { url = 'https://maven.minecraftforge.net/' }
        mavenCentral()
    }
    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
    }
}

the jar is in the libs folder

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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