Getting Curios API dependencies to load, build.gradle error

Started by Van on Sun, 03/14/2021 - 15:32

Topic category: Help with MCreator software

Last seen on 23:20, 6. May 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Getting Curios API dependencies to load, build.gradle error
Sun, 03/14/2021 - 15:32

I'm trying to make Curios API work with 1.16.4 through editing More APIs support plugin. I've added a forge-1.16.4 folder, I've edited curios.yaml, added:

 

forge-1.16.4:
  gradle: |
      repositories {
        maven {
          url = "https://maven.theillusivec4.top/"
        }
      }

      dependencies {
        runtimeOnly fg.deobf("top.theillusivec4.curios.curios-forge:1.16.4-4.0.3.5")
        compileOnly fg.deobf("top.theillusivec4.curios.curios-forge:1.16.4-4.0.3.5:api")
      }
  update_files:
    - ~    

I've also edited build.gradle file and added

repositories {
    jcenter()
    mavenLocal()
 
    maven { // CurseForge
        name = "CurseForge"
        url = "https://minecraft.curseforge.com/api/maven/"
    }
    maven {  // Curios
        url 'https://maven.theillusivec4.top/'
    }
}

dependencies {
    minecraft 'net.minecraftforge:forge:1.16.4-35.1.4'
 
    // Curios
    runtimeOnly fg.deobf("top.theillusivec4.curios.curios-forge:1.16.4-4.0.3.5")
    compileOnly fg.deobf("top.theillusivec4.curios.curios-forge:1.16.4-4.0.3.5:api")
}

But it spits out error in console - link to pastebin:
Executing Gradle task: build Build info: MCreator 2021.1.03117 EAP (03117 - Pastebin.com 

What am I doing wrong?

Last seen on 07:39, 4. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make a Plugin for Curios API…
Sat, 04/03/2021 - 16:34

Make a Plugin for Curios API. Just copy some Files and Codes from More Apis Support Plugin and make it compatible with MCreator 1.16.

Last seen on 07:39, 4. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It seems it can't invoke…
Sat, 04/03/2021 - 18:11

It seems it can't invoke Method dependencies by my issue to add curios api through plugin...

Last seen on 07:39, 4. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I found the solution for…
Sat, 04/03/2021 - 18:29

I found the solution for plugin:

---
forge-1.16.5:
  gradle: |
      repositories {
        maven {
          url = "https://maven.theillusivec4.top/"
        }
      }
      
      dependencies {
        runtimeOnly fg.deobf("top.theillusivec4.curios:curios-forge:1.16.5-4.0.5.0")
        compileOnly fg.deobf("top.theillusivec4.curios:curios-forge:1.16.5-4.0.5.0:api")
      }
  update_files:
    - ~
name: "Curios API"

Just copy and paste to your curios.yaml file replace the version number for curios to your current forge version. This works I tested it.