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

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

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.

  • Author

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

  • Author
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

 

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.