Sherny Posted February 4 Share Posted February 4 Hi I'm new to modding and I was trying to figure out how to integrate dependencies to my mod when this happened: 20:41:24: Executing 'runClient'... > Configure project : Java: 17.0.5, JVM: 17.0.5+8-LTS (Amazon.com Inc.), Arch: amd64 FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'create_excavation-1.0-mc1.18'. > Missing 'minecraft' dependency. * 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 1s 20:41:26: Execution finished 'runClient'. Here's the build.gradle file https://drive.google.com/file/d/1HodF_xeVLAvUuFI6EhXqTSPSIADAnv5o/view?usp=sharing Quote Link to comment Share on other sites More sharing options...
ChampionAsh5357 Posted February 5 Share Posted February 5 Your buildscipt is missing the `minecraft` dependency in the dependencies block. It doesn't know what version of Forge to pull without it. You may want to look at the mdk again and see where that line exists. Quote Link to comment Share on other sites More sharing options...
Sherny Posted February 5 Author Share Posted February 5 yeah so that worked and now I get these errors: Caused by: java.lang.reflect.InvocationTargetException Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [create.mixins.json:CustomItemUseEffectsMixin] from phase [DEFAULT] in config [create.mixins.json] FAILED during APPLY Execution failed for task ':runClient'. > Process 'command 'C:\Users\Private\.jdks\corretto-17.0.5\bin\java.exe'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --scan to get full insights. the build.gradle file now looks like this https://drive.google.com/file/d/1HodF_xeVLAvUuFI6EhXqTSPSIADAnv5o/view?usp=sharing I'm sorry if I'm wasting your time Quote Link to comment Share on other sites More sharing options...
Sherny Posted February 5 Author Share Posted February 5 6 hours ago, ChampionAsh5357 said: Your buildscipt is missing the `minecraft` dependency in the dependencies block. It doesn't know what version of Forge to pull without it. You may want to look at the mdk again and see where that line exists. forgot to quote it 1 minute ago, Sherny said: yeah so that worked and now I get these errors: Caused by: java.lang.reflect.InvocationTargetException Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [create.mixins.json:CustomItemUseEffectsMixin] from phase [DEFAULT] in config [create.mixins.json] FAILED during APPLY Execution failed for task ':runClient'. > Process 'command 'C:\Users\Private\.jdks\corretto-17.0.5\bin\java.exe'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --scan to get full insights. the build.gradle file now looks like this https://drive.google.com/file/d/1HodF_xeVLAvUuFI6EhXqTSPSIADAnv5o/view?usp=sharing I'm sorry if I'm wasting your time Quote Link to comment Share on other sites More sharing options...
ChampionAsh5357 Posted February 6 Share Posted February 6 I would suggest reading the mixin docs since they explain that you need to remap the refmap file if you are depending on a mod which has a mixin. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.