Patchouli custom element giving error on "repositories {}"

Started by SHORT on

Topic category: Help with MCreator software

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Patchouli custom element giving error on "repositories {}"

This is my code in my custom element.:

 

package net.mcreator.deliciouspastel;

repositories {
	jscenter()
	mavenLocal()

	maven {
		name = "CurseForge"
		url = "https://minecraft.curseforge.com/api/maven/"
	}
	maven {
		url "https://maven.blamejared.com"
	}
}

dependencies {
	minecraft "net.minecraftforge:forge:1.18.2-40.1.80"

	//Patchouli
	runtimeOnly fg.deobf("vazkii.patchouli:Patchouli:${project.mcVersion}-${project.patchouliVersion}")
}

apply from: "mcreator.gradle"

And here is my error.

img

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when I tried making a custom…
Thu, 10/06/2022 - 13:11

when I tried making a custom element it went in a similar fashion . I really don't know wut to do

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello, I think it's a little…
Fri, 07/21/2023 - 18:38

Hello, I think it's a little bit late but did you fix the problem and used Patchouli? I have the same problem and I wanted to know if you fixed it.