Water Mob AI problem

Status
Fixed
Issue description

Can anyone help me with this error creating an AI for a water mob? I know that it may seem obvious, but I haven't a lot of experience with MCreator so I'm asking anyone in this forum some help.

 

Executing gradle command: build
Build info: MCreator 1.9.0, 64-bit, 16267 MB, Windows 10 - cmd, JVM 1.8.0_212, JAVA_HOME: D:\ZZ9 robe mie\programmi\MCreator\jdk
(c) 2019 Microsoft Corporation. Tutti i diritti sono riservati.
C:\Users\acer\MCreatorWorkspaces\more_minerals>gradlew -Dorg.gradle.java.home="D:/ZZ9 robe mie/programmi/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
C:\Users\acer\MCreatorWorkspaces\more_minerals\build\sources\main\java\net\mcreator\more_minerals\MCreatorLivinglilypad.java:85: error: incompatible types: EntityCustom cannot be converted to EntityCreature
         this.tasks.addTask(1, new EntityAIWander(this, 0.8));
                                                  ^
C:\Users\acer\MCreatorWorkspaces\more_minerals\build\sources\main\java\net\mcreator\more_minerals\MCreatorLivinglilypad.java:88: error: incompatible types: EntityCustom cannot be converted to EntityCreature
         this.tasks.addTask(4, new EntityAIWanderAvoidWater(this, 0.8));
                                                            ^
C:\Users\acer\MCreatorWorkspaces\more_minerals\build\sources\main\java\net\mcreator\more_minerals\MCreatorLivinglilypad.java:89: error: incompatible types: EntityCustom cannot be converted to EntityCreature
         this.tasks.addTask(5, new EntityAIPanic(this, 1.2));
                                                 ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 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. Run with --scan to get full insights.
5 actionable tasks: 3 executed, 2 up-to-date
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
C:\Users\acer\MCreatorWorkspaces\more_minerals>
Task completed with return code 0 in 17563 milliseconds

 

Issue comments