"Your workspace contains mod elements that don't compile properly"

Started by TrGR on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 17:49, 23. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Your workspace contains mod elements that don't compile properly"

Greetings to all. I'm new to modding. And I decided to make a mob, but when the final compilation is always given an error:

"Your workspace contains mod elements that don't compile properly.

This was most likely caused by the last mod element you added or edited. Try altering the settings of mod elements that cause build errors (such elements are listed below) to try to fix this problem.

If you can't resolve this problem, export the workspace to shareable ZIP file from the File menu and send it to us via our Issue tracker on GitHub so we can try to help you.

List of mod elements that cause compilation errors (trimmed to up to 10 elements)"

 

and the actual compilation departure log

 

> Task :compileJava
C:\Users\Admin\MCreatorWorkspaces\keptyouwaitinghuh\src\main\java\net\mcreator\keptyouwaitinghuh\entity\renderer\TestRenderer.java:28: error: cannot find symbol super(renderManager, new TestModelProcedure());
^
symbol: class TestModelProcedure
location: class net.mcreator.keptyouwaitinghuh.entity.renderer.TestRenderer
C:\Users\Admin\MCreatorWorkspaces\keptyouwaitinghuh\src\main\java\net\mcreator\keptyouwaitinghuh\entity\renderer\TestRenderer.java:29: error: cannot find symbol this.addLayer(new TestLayerProcedure(this));
^
symbol: class TestLayerProcedure
location: class net.mcreator.keptyouwaitinghuh.entity.renderer.TestRenderer
2 errors
> 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 4s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 6 seconds 

 

info: MCreator 2022.2.34517, forge-1.16.5

Last seen on 13:50, 21. Mar 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you using Nerdy's…
Sun, 01/15/2023 - 17:28

Do you using Nerdy's Geckolib?

Last seen on 13:50, 21. Mar 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check api. It must be turned…
Sun, 01/15/2023 - 19:15

Check api. It must be turned on to work properly

.

Last seen on 17:49, 23. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I checked, there is already…
Sun, 01/15/2023 - 20:32

I checked, there is already a tick next to the Geckolib API, but the result is still the same

Last seen on 13:50, 21. Mar 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You use exactly 3.5.1…
Sun, 01/15/2023 - 20:56

You use exactly 3.5.1 version, right? Nerdy dropped support of 2022.2 long before 3.5.1. If you using inappropriate plugin version for your mcreator version any kind of errors also will appear.

Last seen on 17:49, 23. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is quite sad, as I will…
Sun, 01/15/2023 - 21:18

This is quite sad, as I will have to quit version 1.16.5. Thank you for your help)

Last seen on 23:13, 19. Jan 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have the same prolem, but…
Thu, 01/19/2023 - 13:21

I have the same prolem, but I did'nt install ANY plungins