Custom Mob Compile Error

Started by AidanVS on

Topic category: Help with MCreator software

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Mob Compile Error

Hi, I'm trying to make a custom entity but I keep getting compile errors, I don't know why but I am using MCreator 1.9.1

 

HERE IS THE CONSOLE CODE

   
Executing gradle command: build
Build info: MCreator 1.9.1, 64-bit, 8121 MB, Windows 10 - cmd, JVM 1.8.0_222, JAVA_HOME: E:\MCreator\jdk
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>gradlew -Dorg.gradle.java.home="E:/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:194: error: illegal start of expression
       = new ModelRenderer(this, 0, 0);
       ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:195: error: illegal start of expression
      .addBox(0F, 0F, 0F, 1, 1, 1);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:196: error: illegal start of expression
      .setRotationPoint(0F, 3F, 0F);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:197: error: illegal start of expression
      .setTextureSize(64, 32);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:198: error: illegal start of expression
      .mirror = true;
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:199: error: illegal start of expression
      setRotation(, 0F, 0F, 0F);
                  ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:212: error: illegal start of expression
    .render(f5);
    ^
7 errors
:compileJava FAILED
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 1s
5 actionable tasks: 4 executed, 1 up-to-date
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>
Task completed with return code 0 in 1863 milliseconds
   
Executing gradle command: runClient
Build info: MCreator 1.9.1, 64-bit, 8121 MB, Windows 10 - cmd, JVM 1.8.0_222, JAVA_HOME: E:\MCreator\jdk
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>gradlew -Dorg.gradle.java.home="E:/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" runClient 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:194: error: illegal start of expression
       = new ModelRenderer(this, 0, 0);
       ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:195: error: illegal start of expression
      .addBox(0F, 0F, 0F, 1, 1, 1);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:196: error: illegal start of expression
      .setRotationPoint(0F, 3F, 0F);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:197: error: illegal start of expression
      .setTextureSize(64, 32);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:198: error: illegal start of expression
      .mirror = true;
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:199: error: illegal start of expression
      setRotation(, 0F, 0F, 0F);
                  ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumbeing.java:212: error: illegal start of expression
    .render(f5);
    ^
7 errors
:compileJava FAILED
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 0s
5 actionable tasks: 3 executed, 2 up-to-date
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>
Task completed with return code 0 in 1149 milliseconds
   
Executing gradle command: build
Build info: MCreator 1.9.1, 64-bit, 8121 MB, Windows 10 - cmd, JVM 1.8.0_222, JAVA_HOME: E:\MCreator\jdk
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>gradlew -Dorg.gradle.java.home="E:/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:sourceTestJava UP-TO-DATE
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:test NO-SOURCE
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:getVersionJson
:extractUserdev UP-TO-DATE
:genSrgs SKIPPED
:reobfJar
:extractAnnotationsJar
:extractRangemapReplacedMain
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java
:retromapReplacedMain UP-TO-DATE
:sourceJar
:assemble
:check UP-TO-DATE
:build
BUILD SUCCESSFUL in 4s
15 actionable tasks: 11 executed, 4 up-to-date
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>
Task completed with return code 0 in 4697 milliseconds
   
Executing gradle command: build
Build info: MCreator 1.9.1, 64-bit, 8121 MB, Windows 10 - cmd, JVM 1.8.0_222, JAVA_HOME: E:\MCreator\jdk
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>gradlew -Dorg.gradle.java.home="E:/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:223: error: illegal start of expression
       = new ModelRenderer(this, 0, 0);
       ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:224: error: illegal start of expression
      .addBox(0F, 0F, 0F, 1, 1, 1);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:225: error: illegal start of expression
      .setRotationPoint(0F, 3F, 0F);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:226: error: illegal start of expression
      .setTextureSize(64, 32);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:227: error: illegal start of expression
      .mirror = true;
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:228: error: illegal start of expression
      setRotation(, 0F, 0F, 0F);
                  ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:245: error: illegal start of expression
    .render(f5);
    ^
7 errors
:compileJava FAILED
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 1s
5 actionable tasks: 4 executed, 1 up-to-date
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum>
Task completed with return code 0 in 1716 milliseconds

 

 

HERE IS COMPILE ERROR 

 

 

C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:223: error: illegal start of expression
       = new ModelRenderer(this, 0, 0);
       ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:224: error: illegal start of expression
      .addBox(0F, 0F, 0F, 1, 1, 1);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:225: error: illegal start of expression
      .setRotationPoint(0F, 3F, 0F);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:226: error: illegal start of expression
      .setTextureSize(64, 32);
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:227: error: illegal start of expression
      .mirror = true;
      ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:228: error: illegal start of expression
      setRotation(, 0F, 0F, 0F);
                  ^
C:\Users\Aidan Wellstood\MCreatorWorkspaces\cum\build\sources\main\java\net\mcreator\cum\MCreatorCumBeing.java:245: 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

BUILD FAILED in 1s