MCreator Gradle Broken

Started by DeathD84 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 06:21, 28. Apr 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator Gradle Broken

Here's the error the console is giving to me now, my builds stopped working randomly, then my gradle broken

I've tried clearing chaches and the gradle entirely.

Executing Gradle task: eclipse
Build info: MCreator 2023.4.52316, forge-1.20.1, 64-bit, 32094 MB, Windows 10, JVM 17.0.9, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-03-29-10:22:04

FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\noiit\MCreatorWorkspaces\testspace\build.gradle' line: 3
* What went wrong:
Plugin [id: 'net.minecraftforge.gradle', version: '[6.0,6.2)'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'net.minecraftforge.gradle:net.minecraftforge.gradle.gradle.plugin:[6.0,6.2)')
Searched in the following repositories:
Gradle Central Plugin Repository
MinecraftForge(https://maven.minecraftforge.net/)
* 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 7s

BUILD FAILED
Task completed in 7 seconds

 

Last seen on 02:15, 29. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also just started getting…
Fri, 03/29/2024 - 18:42

I also just started getting this same error today.

Last seen on 06:21, 28. Apr 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah, fixed now, but now my…
Fri, 03/29/2024 - 19:44

yeah, fixed now, but now my entire workspace is erroring all my blocks

Last seen on 06:21, 28. Apr 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and its only some blocks too…
Fri, 03/29/2024 - 19:52

and its only some blocks too, but not others

 

Last seen on 06:21, 28. Apr 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my blocks are still brokenC:…
Sat, 03/30/2024 - 01:58

my blocks are still broken

C:\Users\noiit\MCreatorWorkspaces\jojohe\src\main\java\net\mcreator\jojohe\block\LimestoneBricksBlock.java:23: error: cannot find symbol public boolean canHarvestBlock(BlockState state, BlockGetter world, BlockPos pos, Player player) {
^
symbol: class BlockState
location: class LimestoneBricksBlock
C:\Users\noiit\MCreatorWorkspaces\jojohe\src\main\java\net\mcreator\jojohe\block\LimestoneBricksBlock.java:23: error: cannot find symbol public boolean canHarvestBlock(BlockState state, BlockGetter world, BlockPos pos, Player player) {
^
symbol: class BlockGetter
location: class LimestoneBricksBlock
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors
only showing the first 100 errors, of 36453 total; use -Xmaxerrs if you would like to see more
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* 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 5m 59s
1 actionable task: 1 executed

Last seen on 06:21, 28. Apr 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
example of the error, its…
Sat, 03/30/2024 - 01:59

example of the error, its just erroring everything

Last seen on 06:21, 28. Apr 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah i know, its been like…
Sat, 03/30/2024 - 17:53

yeah i know, its been like this since the forge servers came back up

You will need to clear…
Sat, 03/30/2024 - 18:06

You will need to clear gradle caches as the got broken.

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.