"Your workspace contains mod elements that not compile properly"

Published by bronxbull on Wed, 05/06/2020 - 14:21
Status
Duplicate
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

Hello, I'm trying to make a custom entity and when I make the entity with my own 3d .java model the compilation fail.

I think it is linked to the animation because when I try with an non-animated model, it works...

Her is the console report :

Executing Gradle task: build
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 14264 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\Auguste\MCreatorWorkspaces\bronxbullsores\src\main\java\net\mcreator\bronxbullsores\entity\WildhogEntity.java:189: 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 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 307701 milliseconds
 

 

 

Thank you !

Issue comments



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.