Hey, I was wondering if anyone could help me out with my forge gradle issue. I am comfortable with OOP in Java but I am completely new to Minecraft modding, and I am trying to build an add-on for AlienEvo (link: https://www.curseforge.com/minecraft/mc-mods/alienevo). I am currently trying to declare both alienEvo and palladium as dependencies inside my build.gradle file, but this has led to issues when I try to use the runClient configuration. I am using IntelliJ, and I have already tried to fix the issue yesterday. Here is a google doc link (https://docs.google.com/document/d/1Vp7VKFDZIeB_c7UzeZegLtm_UJNgkcWp5IbpkjfprcY/edit?usp=sharing) with a summary of what I have already attempted. It includes errors and images, which hopefully articulates what I ran into previously and my attempted fixes. I think it is a mapping issue between the dependencies and my dev environment. Like, it's loading the dependencies but not converting them to use the official mapping which my dev env is set to use; it's trying to look for the obfuscated classes and methods. Today, I tried following the obfuscation example in the MDK examples repo, but the build fails when I include the renamer plugin. I tried some different versions of it, but all failed, giving the following error: * What went wrong:
An exception occurred applying plugin request [id: 'net.minecraftforge.renamer', version: '1.0.15']
> Failed to apply plugin 'net.minecraftforge.renamer'.
> Could not create plugin of type 'RenamerPlugin'.
> Could not create an instance of type net.minecraftforge.renamer.gradle.shadow.net.minecraftforge.gradleutils.shared.EnhancedProblems$Minimal.
> Method 'org.gradle.api.problems.ProblemGroup org.gradle.api.problems.ProblemGroup.create(java.lang.String, java.lang.String)' must be InterfaceMethodref constantI am using gradle version 8.8 which I believe is what the MDK was configured to use by default. Here is pastebin (https://pastebin.com/C7LVHznA) which includes links to my build.gradle, gradle.properties and settings.gradle. There are some comments on my build.gradle which explain why I added certain things. This is more articulated in the google doc. Any response is greatly apperciated.
By
CJ_Salad0 · 5 minutes ago 5 min
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.