why doesnt my mod work when i try to run it

Started by idk1234 on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why doesnt my mod work when i try to run it
Fri, 09/22/2023 - 13:15 (edited)

it opens minecraft and closes minecraft in a split second and i am trying to make this mod on minecraft 1.20.1. and this is what its saying in the console. > Task :runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Pylo\MCreator\jdk\bin\java.exe'' finished with non-zero exit value 1
* 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
10 actionable tasks: 3 executed, 7 up-to-date

BUILD FAILED
Task completed in 5 seconds. 

edit:i managed to fix it by clearing gradle

Edited by idk1234 on Fri, 09/22/2023 - 13:15
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i managed to fix it by…
Fri, 09/22/2023 - 13:15

i managed to fix it by clearing gradle