Mob error

Started by stegy17 on Sat, 07/18/2015 - 16:26
Last seen on 00:17, 26. Nov 2015
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Mob error
Sat, 07/18/2015 - 16:26

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

Last seen on 00:17, 26. Nov 2015
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
It says it expects this
Sat, 07/18/2015 - 20:59

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

Last seen on 00:17, 26. Nov 2015
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Can someone please help me
Tue, 07/28/2015 - 16:59

Can someone please help me with this? Thank you