Jump to content

Nachos Rios

Members
  • Posts

    2
  • Joined

  • Last visited

Nachos Rios's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I started recently using IntelliJ to build my mods, but I am stuck at a problem that I can't seem to be able to fix. I created this account because I tried watching tutorials/searching here, but still having problems. My build.gradle: buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:3.+' } } apply plugin: 'net.minecraftforge.gradle' // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. apply plugin: 'idea' // Note: used to be 'eclipse', I changed it to 'idea' apply plugin: 'maven-publish' version = '2.0' group = 'com.nachos.incraftable' archivesBaseName = 'incraftable' sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. minecraft { mappings channel: 'snapshot', version: '20171003-1.12' runs { client { workingDirectory project.file('run') property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.console.level', 'debug' } server { property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.console.level', 'debug' } } } repositories { } dependencies { minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2854' // deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api" // This is the problematic line } // Below this line is completely unchanged jar { manifest { attributes([ "Specification-Title": "examplemod", "Specification-Vendor": "examplemodsareus", "Specification-Version": "1", // We are version 1 of ourselves "Implementation-Title": project.name, "Implementation-Version": "${version}", "Implementation-Vendor" :"examplemodsareus", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) } } jar.finalizedBy('reobfJar') publishing { publications { mavenJava(MavenPublication) { artifact jar } } repositories { maven { url "file:///${project.projectDir}/mcmodsrepo" } } } I only have 2 classes as of writing, and I didn't add pretty much nothing else different. If you need the two classes, just let me know. Edit: forgot to put the error, here it is: A problem occurred evaluating root project 'TopTime'. > Could not find method deobfProvided() for arguments [mezz.jei:jei_1.12.2:4.16.1.301:api] on object of
×
×
  • Create New...

Important Information

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