Task :compileJava FAILED. Pls help me (

Started by Fildrix on

Topic category: Help with MCreator software

Last seen on 17:22, 30. May 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Task :compileJava FAILED. Pls help me (

Task :compileJava FAILED
C:\MCreatorWorkspaces\skibidi\src\main\java\net\mcreator\skibidi\client\model\ModelSkibidi_Toilet.java:45: error: not a statement PartDefinition 1stage = body.addOrReplaceChild("1stage", CubeListBuilder.create().texOffs(33, 36).addBox(-2.25F, -2.5F, -1.0F, 1.25F, 1.25F, 3.0F, new CubeDeformation(0.0F))
^ and also 9.

10 errors
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 5 seconds

 

How to fix it?

Last seen on 17:22, 30. May 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
did an import from Blockbench
Fri, 05/19/2023 - 09:06

did an import from Blockbench

"PartDefinition 1stage" is…
Mon, 05/22/2023 - 17:20

"PartDefinition 1stage" is not a valid part name as Java can't contain whitespace in names

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.