EntityCustom cannot be converted to EntityCreature error

Started by MinecraftBx on

Topic category: Help with modding (Java Edition)

Last seen on 14:15, 12. Sep 2019
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
EntityCustom cannot be converted to EntityCreature error

I can't compile a mob with standard slime model

Note: when i was searching for answer I found this: https://mcreator.net/tracker/issue/51718 but I don't thinks that Slime  (

that I used too) is water mob.. I tried everything but nothing helped.Can someone help me with that problem (I know that is supposed to be patched on mcreator 1.9.1 according to this answer but I need to make this quick)

 

Log: 

C:\Users\User\MCreatorWorkspaces\bsmod\build\sources\main\java\net\mcreator\bsmod\MCreatorBlueslime.java:70: error: incompatible types: EntityCustom cannot be converted to EntityCreature
            this.tasks.addTask(1, new EntityAIWander(this, 1));
                                                     ^
C:\Users\User\MCreatorWorkspaces\bsmod\build\sources\main\java\net\mcreator\bsmod\MCreatorBlueslime.java:74: error: incompatible types: EntityCustom cannot be converted to EntityCreature
            this.targetTasks.addTask(5, new EntityAIHurtByTarget(this, false));
                                                                 ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\User\MCreatorWorkspaces\bsmod\build\sources\main\java\net\mcreator\bsmod\MCreatorBlueslime.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors

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.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is an old forum I mean.
Sun, 05/31/2020 - 00:56

This is an old forum I mean.