I can't make a slime mob.

Started by EraAlabel on

Topic category: Help with MCreator software

Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't make a slime mob.

Whenever I try to make a slime mob, it says "Recompilation has failed because compiler found errors. It was caused by the slime (I have the skin and I selected a slime model.) I want to fix this.

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could you post anymore info…
Tue, 07/31/2018 - 16:07

could you post anymore info on the error message?

Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The error message reads: …
Tue, 07/31/2018 - 18:50

The error message reads: (and I've checked the slime assets and everything is validated.)

 

Recompilation has failed because compiler found errors.

Most likely, this was caused by the last mod you made.

Edit this mod and make sure you fill all the form elements (Which I've checked and they're all validated.)

There are some things you can do:

  • If you still see this message after you do this, remove the mod or some functionality and try again.)
  • If you can't get rid of this message, export workspace and send it to us so we can try to help you. Then remove the mod that caused the error.

 

I'm not sure I want to remove the mod, but I'd like to fix it. Any help?

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
post the console message (if…
Tue, 07/31/2018 - 20:57

post the console message (if there is one), and what is the name of the texture and the mob?

Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
error: incompatible types:…
Wed, 08/01/2018 - 07:41

error: incompatible types: EntityplaguedSlime cannot be converted to EntityCreature
         this.tasks.addTask(1, new EntityAIWander(this, 0.8D));
                                                  
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 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.
BUILD FAILED
Total time: 22.368 secs
C:\Users\Harry\Downloads\MCreator178\forge>
Task completed with return code 0 in 22914 milliseconds

the name of the mob is PlaguedSlime

https://cdn.discordapp.com/attachments/427050963371556867/474119093679685632/unknown.png

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what did you call the…
Mon, 08/06/2018 - 03:16

what did you call the texture, it must be the same as the mob? oh btw in the future, maybe remove your name from the error message before posting it

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This error has nothing to do…
Mon, 08/06/2018 - 08:14

This error has nothing to do with a name, a texture or a model. It is actually because the AI task needs as a parameter instance of EntityCreature, but your entity is not a child of EntityCreature or one of its children. Solution? Make your entity class extend EntityCreature or one of its children.

Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I do that?
Thu, 09/13/2018 - 14:31

How do I do that?