only attack hostle mobs

Started by shawshank1228 on

Topic category: Advanced modding

Last seen on 20:37, 20. Apr 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
only attack hostle mobs

help! my entity keeps attacking peaceful mobs! and i dont know how to make it only attack hostle mobs 

Last seen on 16:45, 3. May 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is your current AI…
Thu, 04/09/2020 - 04:23

What is your current AI looking like? If you are using a base entity for the AI it may overwrite your current stuff. Make sure that it's behavior is set to creature and that if you wanted it to attack nothing, to specify that in the AI.

Entity Base is in the top right of the mob AI screen and

behavior is on the second screen at the top.

 

To make it only attack hostile mobs make sure it attacks nothing first and on the AI screen drag the Attack entities of type and

Select EntityMob

 

Hope this helps.

Last seen on 20:37, 20. Apr 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thats what i did but then it…
Thu, 04/09/2020 - 22:41

thats what i did but then it started atacking everything

so now i dont know what to do exept put every hostile mob type in

Last seen on 18:56, 12. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add iron golem Ai .  
Thu, 05/14/2020 - 21:24

Add iron golem Ai .