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

Started by Xbraxusx on

Topic category: Help with MCreator software

Active 3 years ago
Joined Nov 2018
Points:
734

User statistics:

  • Modifications: 1
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
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.

Active 4 years ago
Joined Aug 2019
Points:
1023

User statistics:

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

Active 3 years ago
Joined Nov 2018
Points:
734

User statistics:

  • Modifications: 1
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
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.