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

dear . 

im cant fix my problem and im need help . so help me .

this is my build.gradle file : 
 

plugins {

    id "java"

    id "idea"

    id "org.jetbrains.kotlin.jvm"

    id "com.github.johnrengelman.shadow" version "6.1.0"

    id "net.minecraftforge.gradle"

    id "org.spongepowered.mixin"

    id "com.gorylenko.gradle-git-properties" version "2.4.0"

}

 

repositories {

    mavenLocal()

    mavenCentral()

    maven { url = "https://repo.spongepowered.org/repository/maven-public/" }

    maven { url = "https://jitpack.io/" }

    maven { url = "https://getfdp.today/repo/" }

    maven {

        url = "https://maven.pkg.github.com/jcefmaven/jcefmaven/"

        credentials {

            username = "jcefmavenbot"

            password = "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"

        }

    }

}

 

version = "3.0.0"

group = "org.unlegitmc.fdp"

archivesBaseName = "PedarClient"

 

sourceCompatibility = targetCompatibility = 1.8

compileJava.options.encoding = "UTF-8"

 

compileKotlin {

    kotlinOptions {

        jvmTarget = "1.8"

    }

}

 

minecraft {

    version = "1.8.9-11.15.1.2318-1.8.9"

    runDir = "run"

    mappings = "stable_22"

    makeObfSourceJar = false

    clientJvmArgs += ["-Dfml.coreMods.load=net.ccbluex.liquidbounce.injection.forge.TransformerLoader", "-Xmx1024m -Xms1024m", "-Ddev-mode"]

}

 

configurations {

    include

    implementation.extendsFrom(include)

}

 

dependencies {

    include("org.spongepowered:mixin:0.7.11-SNAPSHOT") {

        transitive = false

        exclude module: "guava"

        exclude module: "commons-io"

        exclude module: "gson"

        exclude module: "launchwrapper"

        exclude module: "log4j-core"

        exclude module: "slf4j-api"

    }

 

    annotationProcessor("org.spongepowered:mixin:0.7.11-SNAPSHOT")

 

    include "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

    include("me.friwi:jcefmaven:$jcef_version") {

        exclude module: "commons-compress" // minecraft have a old version of this library

        exclude module: "jogl-all" // we use lwjgl

        exclude module: "gluegen-rt" // this is the library for joal

    }

    include("com.github.unlegitmc:fuckpcl:2.0") {

        exclude module: "kotlin-stdlib-jdk8"

        exclude module: "jna-platform"

    }

    include("com.jagrosh:DiscordIPC:0.4")

    include("me.liuli:Elixir:1.2.1") {

        exclude module: "kotlin-stdlib"

        exclude module: "authlib"

    }

 

    include fileTree(include: ["*.jar"], dir: "libs")

}

 

shadowJar {

    archiveClassifier.set("")

    configurations = [project.configurations.include]

    duplicatesStrategy DuplicatesStrategy.EXCLUDE

 

    // Ultralight native files are going to be downloaded from our cloud

    exclude "native-binaries/**"

 

    exclude "LICENSE.txt"

 

    exclude "META-INF/maven/**"

    exclude "META-INF/versions/**"

}

 

processResources {

    inputs.property "version", project.version

    inputs.property "mcversion", project.minecraft.version

 

    filesMatching("mcmod.info") {

        expand "version": project.version, "mcversion": project.minecraft.version

    }

 

    rename "(.+_at.cfg)", "META-INF/\$1"

}

 

task moveResources {

    doLast {

        ant.move file: "${buildDir}/resources/main",

                todir: "${buildDir}/classes/java"

    }

}

 

moveResources.dependsOn(processResources)

classes.dependsOn(moveResources)

 

jar {

    manifest.attributes(

            "FMLCorePlugin": "net.ccbluex.liquidbounce.injection.forge.TransformerLoader",

            "FMLCorePluginContainsFMLMod": true,

            "ForceLoadAsMod": true,

            "MixinConfigs": "mixins.fdpclient.json",

            "ModSide": "CLIENT",

            "TweakClass": "org.spongepowered.asm.launch.MixinTweaker",

            "TweakOrder": "0",

            "FMLAT": "fdpclient_at.cfg",

    )

 

    enabled = false

}

 

mixin {

    disableRefMapWarning = true

    defaultObfuscationEnv searge

    add sourceSets.main, "mixins.fdpclient.refmap.json"

}

 

reobf {

    shadowJar {

        mappingType = "SEARGE"

    }

}

 

tasks.reobfJar.dependsOn(shadowJar)
 

and im got this error

C:\Users\RC\Desktop\editing area>gradle build

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\RC\Desktop\editing area\build.gradle' line: 6

* What went wrong:
Plugin [id: 'net.minecraftforge.gradle'] was not found in any of the following s
ources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this
source)

* 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 https://help.gradle.org

BUILD FAILED in 5s

C:\Users\RC\Desktop\editing area>
 

  • Author

also i test this in line 6 :
id "net.minecraftforge.gradle.forge"
and got this error :
 


FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\RC\Desktop\editing area\build.gradle' line: 6

* What went wrong:
An exception occurred applying plugin request [id: 'net.minecraftforge.gradle.fo
rge', artifact: 'com.github.asbyth:ForgeGradle:ddb1eb0']
> Failed to apply plugin 'net.minecraftforge.gradle.forge'.
   > Unable to obtain url (https://launchermeta.mojang.com/mc/game/version_manif
est.json) with etag!

* 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 https://help.gradle.org

BUILD FAILED in 40s

Guest
This topic is now closed to further replies.

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.