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

Started by Xbraxusx on

Topic category: Help with MCreator software

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nuetral Mob is not doing damage, when it should be.

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.

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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?

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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.