Topic category: Help with Minecraft modding (Java Edition)
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.
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
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
1 error
: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:
BUILD FAILED
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
C:\Pylo\MCreator169\forge>
Task completed with return code 0 in 167076 milliseconds
With everything else I try, it just wanders around and acts passive.
Just mistake in version of Mcreator that you use. In code change EntityEntityPlayer to EntityPlayer
@#1 How would I go about doing that? I'm using MCreator 1.6.9.
Open code of your element and look for the EntityEntityPlayer