Nuetral Mob is not doing damage, when it should be.

Started by Xbraxusx on Mon, 09/02/2019 - 02:30

Topic category: Help with MCreator software

Last seen on 01:11, 7. Jul 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Nuetral Mob is not doing damage, when it should be.
Mon, 09/02/2019 - 02:30

So I'm trying to make a mob neutral, but when I attack it, it just follows me around, but doesn't do any damage for some reason. Mob damage is set to 2. This is the AI setup I have for it:

attack targets, call for help (yes)
attack on melee 1.2 spd, chase after lost sight (yes)
Follow same mobs 1 spd, 10 max range, 5 follow area
avoid 6 radius, near speed 1, far speed 1.2, cave spider
avoid 6 radius, near speed 1, far speed 1.2, spider
wander around, avoid water, 1 spd
look around
swim in water
follow when item in hand 1 spd, scared of movement (no)

I don't understand why this mob can't do damage. I have another mob with a similar setup, but it is an agressive mob so it has the attack entityPlayer block on it, and that works just fine.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Try going to your Combat…
Mon, 09/02/2019 - 13:06

Try going to your Combat tasks and try "attack in sight only, nearby only of type "PlayerEntity".

Add that below attack targets, call for help. Does that work?

Last seen on 01:11, 7. Jul 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I fixed it. I didn't think…
Mon, 09/02/2019 - 17:47

I fixed it. I didn't think the fact that is was also breedable would have anything to do with it, but when I turned that off, it worked.