Topic category: Help with modding
I'm trying to make a boss mob. I gave it custom AI with the tasks "Act aggressively against (player)" and "attack on collide." I get this.
C:\Pylo\MCreator169\forge\build\sources\main\java\mod\mcreator\mcreator_twilightguardian.java:110: error: cannot find symbol
this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityEntityPlayer.class, true));
symbol: class EntityEntityPlayer
location: class Entitytwilightguardian
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 2 mins 44.057 secs
Task completed with return code 0 in 167076 milliseconds
With everything else I try, it just wanders around and acts passive.