[FIX*] Crash on Mob tasks in MCreator 1.6.9 for (Minecraft 1.9.4)

Started by Lyrin on

Topic category: Troubleshooting, bugs, and solutions

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[FIX*] Crash on Mob tasks in MCreator 1.6.9 for (Minecraft 1.9.4)

Step 1:  Create the mob, add the tasks you wish to add that involve any interactions with EntityPlayer.

Step 2:  You WILL get a crash, but ignore it.

Step 3:  Edit the code of the mob.

Step 4: Scroll down a bit in the code until you find a section similar to this: https://gyazo.com/fcae61c125283c9222e46ea4b26bd924

Step 5: Where you see "EntityEntityPlayer.class", Remove the one of the "Entity" words from it so it should say "EntityPlayer." Here's an example: https://i.gyazo.com/8fa7dad02b304cb4ae3112c32b78b233.mp4

Step 6: IF there are any other "this.tasks.addtask" with the "EntityEntityPlayer.class" Just do the same thing.  It should work, just click "Save and Recompile" up at the top of the tab.

If there are any issues, reply to this, and I can try to clear up any confusion.

This solution works ONLY on MCreator 1.6.9 for Minecraft 1.9.4, This may NOT be necessary for earlier versions.

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I do not mean to be rude, but
Mon, 07/04/2016 - 00:15

I do not mean to be rude, but i already found this bug, told pylo, and they have it as a bugfix. I have also notified the community.

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also in order to fix this for
Mon, 07/04/2016 - 00:16

Also in order to fix this for other mobs you need to remove the first Entity in the mobs name, and then in the second import section near the top of the code type, 

import net.minecraft.entity.monster.(the name of your mob)

Example:

i want my mob to attack a zombie. in the task change EntityEntityZombie to EntityZombie.

then in the second import section i added... import net.minecraft.entity.monster.EntityZombie

Practical Mod Maker

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Um, you said you notified
Mon, 07/04/2016 - 04:19

Um, you said you notified Pylo and they have it as a bugfix.  When will this bugfix be released?

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh it is in the 1.10 changlog
Mon, 07/04/2016 - 13:43

oh it is in the 1.10 changlog not released yet

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Worked! Thanks alot!
Sun, 07/17/2016 - 19:44

Worked! Thanks alot!

but crashed my minecraft,

fixed the ai but crashed minecraft

"the mob is with the crashes no errors"

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Log::runClient FAILEDFAILURE:
Sun, 07/17/2016 - 19:44

Log:
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Pylo\MCreator169\jdk64\bin\java.exe'' finished with non-zero exit value -1
* 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: 49.29 secs
C:\Pylo\MCreator169\forge>
Task completed with return code 0 in 49971 milliseconds