Topic category: Troubleshooting, bugs, and solutions
Hey am creating a custom mob, and ive made a custom java model, but when im saving the model to the program and create a new mob and when am finish modifying the mob i get an error please help
Executing Gradle task: build
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 16341 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: D:\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\MBren\MCreatorWorkspaces\brenden\src\main\java\brenden\mod\entity\WeEntity.java:209: error: illegal start of expression = new RendererModel(this, 0, 0);
^
C:\Users\MBren\MCreatorWorkspaces\brenden\src\main\java\brenden\mod\entity\WeEntity.java:210: error: illegal start of expression .addBox(0F, 0F, 0F, 1, 1, 1);
^
C:\Users\MBren\MCreatorWorkspaces\brenden\src\main\java\brenden\mod\entity\WeEntity.java:211: error: illegal start of expression .setRotationPoint(0F, -11F, 0F);
^
C:\Users\MBren\MCreatorWorkspaces\brenden\src\main\java\brenden\mod\entity\WeEntity.java:212: error: illegal start of expression .setTextureSize(64, 32);
^
C:\Users\MBren\MCreatorWorkspaces\brenden\src\main\java\brenden\mod\entity\WeEntity.java:213: error: illegal start of expression .mirror = true;
^
C:\Users\MBren\MCreatorWorkspaces\brenden\src\main\java\brenden\mod\entity\WeEntity.java:214: error: illegal start of expression setRotation(, 0F, 0F, 0F);
^
C:\Users\MBren\MCreatorWorkspaces\brenden\src\main\java\brenden\mod\entity\WeEntity.java:228: error: illegal start of expression .render(f5);
^
7 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:c…
BUILD FAILED in 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 5833 milliseconds
One of your model parts has empty name
I dont really think that helps allot
Edit the model again but make sure everything has a name, all of the little folders and block icons need names, doesn't matter what they are, just open the Java file in blockbench again, change them, export it out of blockbench, reimport it to your workspace (you may have to delete the original from the models section) and use it.