Do not work mob tasks!

Started by Kosta2015year on Fri, 07/01/2016 - 19:47

Topic category: Bugs and solutions

Last seen on 07:57, 29. Dec 2016
Joined Oct 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Do not work mob tasks!
Fri, 07/01/2016 - 20:03 (edited)

If i choose the tasks for mob - it does not recomplite. Of course i click "check AI" but it does not work in all cases. But if i do not choose any tasks it works! Can it be a bug?
I run gradle tasks "tasks"/"--stacktrace"/""-x" but it did not help!

Screenshot link https://vk.com/id139088349?z=photo139088349_418926440%2Falbum139088349_…

Version 1.6.9

Help please!

Edited by Kosta2015year on Fri, 07/01/2016 - 20:03
Last seen on 09:13, 7. Jul 2016
Joined Nov 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I get the same thing...
Sat, 07/02/2016 - 19:41

I get the same thing... Admins just cannot probably find a solution to this because they did not even answered to me and I had the same thing

Last seen on 14:35, 27. Jun 2019
Joined Dec 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
ok this only works for entity
Sun, 07/03/2016 - 02:06

ok this only works for entity player, not for zombies or anything else, but where it says EntityEntityPlayer, change it to EntityPlayer

Last seen on 14:35, 27. Jun 2019
Joined Dec 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
in order to fix this for
Sun, 07/03/2016 - 16:49

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