Can't compile mod with entity added

Published by wtfisthat on
Status
Can not reproduce
Issue description

I can't comple my mod after i added new mob, how to fix that?

 
Executing Gradle task: build 
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8091 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Users\USER\Desktop\MCreator20202\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\USER\MCreatorWorkspaces\\entity\SuperBobEntity.java:237: error: illegal start of expression 
         return new ItemStack(, (int)(1)); 
                              ^ 
C:\Users\USER\MCreatorWorkspaces\\entity\SuperBobEntity.java:241: error: illegal start of expression 
         return new ItemStack(, (int)(1)); 
                              ^ 
2 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 
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:command_line_warnings 
BUILD FAILED in 3s 
1 actionable task: 1 executed 
BUILD FAILED 
Task completed in 9926 milliseconds 

 

Issue comments