Mob error

3 posts / 0 new
Last post
stegy17's picture
Offline
Last seen: 1 year 5 months ago
Joined: 12/22/2014 - 19:07
Gems: 0
Mob error

I am trying to make a mob but when I recompile it, it gives me this error that makes no sense.

C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:395: error: <identifier> expected
this.public Head.rotateAngleY = f3 / (180F / (float)Math.PI);
     ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:395: error: not a statement
this.public Head.rotateAngleY = f3 / (180F / (float)Math.PI);
    ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:396: error: <identifier> expected
this.public Head.rotateAngleX = f4 / (180F / (float)Math.PI);
     ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:396: error: not a statement
this.public Head.rotateAngleX = f4 / (180F / (float)Math.PI);
    ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:397: error: <identifier> expected
this.public LeftLeg.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1;
     ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:397: error: not a statement
this.public LeftLeg.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1;
    ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:398: error: <identifier> expected
this.public RightLeg.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1;
     ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:398: error: not a statement
this.public RightLeg.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1;
    ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:399: error: <identifier> expected
this.public RightArm.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F;
     ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:399: error: not a statement
this.public RightArm.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F;
    ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:400: error: <identifier> expected
this.public LeftArm.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;
     ^
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:400: error: not a statement
this.public LeftArm.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;
    ^
12 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.
BUILD FAILED
Total time: 8.315 secs
C:\Pylo\MCreator157\forge>
Task completed with return code 0 in 9251 milliseconds
 

 

Can somone please help me and tell me how to fix this error. Thanks



stegy17's picture
Offline
Last seen: 1 year 5 months ago
Joined: 12/22/2014 - 19:07
Gems: 0
It says it expects this

It says it expects this.public
^
But says the error is this.public
^

stegy17's picture
Offline
Last seen: 1 year 5 months ago
Joined: 12/22/2014 - 19:07
Gems: 0
Can someone please help me

Can someone please help me with this? Thank you