Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

when trying to run "gradlew eclipse" I get the error "specified for property 'mappingsIn' does not exist". idk if you help with this kind of stuff but help would be appreciated

here is my build.gradle

buildscript {
    repositories {
        maven { url = "https://files.minecraftforge.net/maven" }
        maven { url = "https://repo.spongepowered.org/repository/maven-public/" }
        mavenCentral()
    }
    dependencies {
        classpath group: "net.minecraftforge.gradle", name: "ForgeGradle", version: "4.1.+", changing: true
        classpath group: "org.spongepowered", name: "mixingradle", version: "0.7-SNAPSHOT"
    }
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: "org.spongepowered.mixin"

mixin {
    add sourceSets.main, project.modId + ".refmap.json"
}

version = "${project.minecraftVersion}-${project.modVersion}"
group = 'com.bunchofroses.' + project.modId
archivesBaseName = project.modId

sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = "1.8"

minecraft {
    mappings channel: project.mappingsChannel, version: project.mappingsVersion
    accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
    runs {
        client {
            workingDirectory project.file('run')
            property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
            property 'forge.logging.console.level', 'debug'
            property "mixin.env.disableRefMap", "true"
            arg "-mixin.config=" + project.modId + ".mixins.json"
            mods {
                natures_mobs {
                    source sourceSets.main
                }
            }
        }

        server {
            workingDirectory project.file("run")
            property "forge.logging.markers", "SCAN,REGISTRIES,REGISTRYDUMP"
            property "forge.logging.console.level", "debug"
            property "mixin.env.disableRefMap", "true"
            arg "-mixin.config=" + project.modId + ".mixins.json"
            mods {
                natures_mobs {
                    source sourceSets.main
                }
            }
        }

        data {
            workingDirectory project.file('run')
            property "forge.logging.markers", "SCAN,REGISTRIES,REGISTRYDUMP"
            property "forge.logging.console.level", "debug"
            property "mixin.env.disableRefMap", "true"
            args "--mod", project.modId, "--all", "--output", file("src/generated/resources/"), "--existing", file("src/main/resources")
            mods {
                natures_mobs {
                    source sourceSets.main
                }
            }
        }
    }
}

dependencies {
    minecraft "net.minecraftforge:forge:${project.minecraftVersion}-${project.forgeVersion}"
    implementation fg.deobf("com.minecraftabnormals:abnormals-core:${project.minecraftVersion}-${project.abnormalsCore}")

    compileOnly fg.deobf("mezz.jei:jei-${project.minecraft}:${project.jei}:api")
    runtimeOnly fg.deobf("mezz.jei:jei-${project.minecraft}:${project.jei}")
}

repositories {
    maven {
        url "https://maven.jaackson.me"
    }
    maven {
        url "https://dvs1.progwml6.com/files/maven/"
    }
    maven {
        url "https://modmaven.k-4u.nl"
    }
}

jar {
    manifest {
        attributes([
            "Specification-Title" : project.modName,
            "Specification-Vendor" : "Bunch of Roses",
            "Specification-Version" : "1",
            "Implementation-Title" : project.modName,
            "Implementation-Version" : project.modVersion,
            "Implementation-Vendor" : "Bunch of Roses",
            "Implementation-Timestamp" : new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
            "MixinConfigs" : project.modId + ".mixins.json"
        ])
    }
}

ย 

and my gradle.proprtiesย ย :

org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false
org.gradle.caching=true
org.gradle.parallel=true
gradle.cache.push=false

modId=natures_mobs
modName=Nature's Mobs
modVersion=1.0.0

minecraftVersion=1.16.5
forgeVersion=36.1.0

abnormalsCore=3.1.1
jei=7.6.1.75

mappingsVersion=20201028-1.16.3
mappingsChannel=snapshot

ย 

Edited by Rosy162

  • Author
1 minute ago, diesieben07 said:

Post the full error.

*What went wrong:

A problem was found with the configuration of task 'eclipseJdtApt' (type 'MixinEclipse.EclipseJdtAptTask).

>File 'C:\Code\Minecraft\nm\build\createMcpToSrg\output.tsrg' specified for property 'mappingsIn' does not exist

  • Author
1 minute ago, diesieben07 said:

Please look up the meaning of the word "full", then try again.

Oh right sorry, left a part out. heres the full thing.

> Task :eclipseJdtApt FAILED

FAILURE: Build failed with an exception

*What went wrong:

A problem was found with the configuration of task 'eclipseJdtApt' (type 'MixinEclipse.EclipseJdtAptTask).

>File 'C:\Code\Minecraft\nm\build\createMcpToSrg\output.tsrg' specified for property 'mappingsIn' does not exist

*Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get moreย log output. Run with --scan to get full insights.

*Get more help at httpls://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatable with Gradle 7.0.

Use 'warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 40s

11 actionable tasks: 6 executed, 5 up-to-dateย 

  • Author
10 minutes ago, diesieben07 said:

Also please run with the --stacktrace task as it suggests and post the output.

how do i run --stacktrace??

  • Author
2 minutes ago, diesieben07 said:

That depends on your answer to the first two questions.

im running gradlew eclipse in the gradle tasks section of run configurations in eclipse

Edited by Rosy162

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.