Compiler Error

Started by Gwilly330 on Thu, 07/21/2016 - 20:11

Topic category: Bugs and solutions

Last seen on 02:08, 28. Jul 2016
Joined Oct 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Compiler Error
Thu, 07/21/2016 - 20:11

warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Pylo\MCreator166\forge\build\sources\main\java\mod\mcreator\mcreator_goldNin.java:128: error: cannot find symbol
            this.targetTasks.addTask(10, new EntityAINearestAttackableTarget(this, EntityEntityPlayer.class, true));
                                                                                   ^
  symbol:   class EntityEntityPlayer
  location: class EntitygoldNin
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
1 warning

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.

 

 

I am trying to make a new Mob mod, and when I choose to have it's own AI and put "Act agressively against" and I choose 'entityentityplayer" I get this error. It goes away when I remove this task but then the mob  doesn't attack. I've also seen that it doesn't do any of the other specified task I give it. Setting it to act like another mob, i.e. Zombie, i get a different compiler error. please help!

Last seen on 22:15, 11. Mar 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Same Thing Happens To Me.
Thu, 07/21/2016 - 20:27

Same Thing Happens To Me. That's Dumb.