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

Started by Treezaow on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 04:53, 23. May 2020
Joined May 2020
Points:

User statistics:

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

I try to make a custom mob and i put in the texture and the model, then it says Your workspace contains mod elements that don't compile properly. i don't know what to do.

here is what console says.

Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8152 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
C:\Users\jayha\MCreatorWorkspaces\husky\src\main\java\net\mcreator\husky\entity\HuskyEntity.java:178: error: invalid method declaration; return type required    public custom_model() {
          ^
1 error
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 244714 milliseconds
 

Last seen on 15:45, 10. Apr 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Probably a problem with your…
Wed, 05/20/2020 - 08:03

Probably a problem with your custom model.

What do you use for modeling?

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you not supposed to…
Wed, 05/20/2020 - 11:32

Are you not supposed to rename models manually? That’s what I do.

You can if you know how to…
Wed, 05/20/2020 - 11:36

You can if you know how to rename class properly :) I recommend renaming in Blockbench in general as most users seem to be breaking code due to only renaming class but not a constructor.

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I didn’t know that…
Wed, 05/20/2020 - 11:37

I didn’t know that Blockbench did that, thanks for the tip :)

Last seen on 04:53, 23. May 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thankyou!
Wed, 05/20/2020 - 16:32

thankyou!

Last seen on 04:53, 23. May 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i fixed it and now it says…
Wed, 05/20/2020 - 19:27

i fixed it and now it says in the 

error:cannot find symbol

Last seen on 18:42, 9. Jul 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i need help it dosnt work…
Tue, 04/13/2021 - 13:53

i need help it dosnt work even with normal names

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
IDK sorry
Thu, 01/19/2023 - 23:11

IDK

sorry